Enum sauron::prelude::AttributeValue [−][src]
Expand description
Values of an attribute can be in these variants
Variants
FunctionCall(Value)
an argument value, to be called as parameter, the function is called to the element
Simple(Value)
a simple value, wrapper of primitive types
style values
no value
Implementations
create an attribute from Vec
create an attribute value from simple value
create an attribute from a function name
with arguments value
return the value if it is a Simple variant
return the function call argument value if it is a FunctionCall variant
return the styles if the attribute value is a style
return true if this is a function call
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for AttributeValue
impl Send for AttributeValue
impl Sync for AttributeValue
impl Unpin for AttributeValue
impl UnwindSafe for AttributeValue
Blanket Implementations
Mutably borrows from an owned value. Read more