Implement enum for Layout data type

This commit is contained in:
Keavon Chambers
2021-03-27 01:20:51 -07:00
parent fbaf3c2467
commit f417b87443
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -224,7 +224,7 @@ impl AttributeParser {
// Return the case-insensitive TypeName enum for the individual type
match &individual_type.to_ascii_lowercase()[..] {
// "layout" => TypeName::Layout, // TODO
"layout" => TypeName::Layout,
"integer" => TypeName::Integer,
"decimal" => TypeName::Decimal,
"absolutepx" => TypeName::AbsolutePx,