Rename GuiXml to Layout data type

This commit is contained in:
Keavon Chambers
2020-07-13 03:41:40 -07:00
parent 7f638aed8d
commit 99feae8aba
3 changed files with 5 additions and 5 deletions

View File

@@ -36,7 +36,7 @@ pub enum TypeValueOrArgument {
#[derive(Debug)]
pub enum TypeName {
// GuiXml, // TODO
// Layout, // TODO
Integer,
Decimal,
AbsolutePx,
@@ -53,7 +53,7 @@ pub enum TypeName {
#[derive(Debug)]
pub enum TypeValue {
// GuiXml(()), // TODO
// Layout(()), // TODO
Integer(i64),
Decimal(f64),
AbsolutePx(f32),

View File

@@ -224,7 +224,7 @@ impl AttributeParser {
// Return the case-insensitive TypeName enum for the individual type
match &individual_type.to_ascii_lowercase()[..] {
// "xml" => TypeName::Xml, // TODO
// "layout" => TypeName::Layout, // TODO
"integer" => TypeName::Integer,
"decimal" => TypeName::Decimal,
"absolutepx" => TypeName::AbsolutePx,