Enum sauron_core::html::attributes::AttributeValue [−][src]
Expand description
Values of an attribute can be in these variants
Variants
an argument value, to be called as parameter, the function is called to the element
Tuple Fields of FunctionCall
0: Value
a simple value, wrapper of primitive types
Tuple Fields of Simple
0: Value
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