Enum virtual_node::AttributeValue [−][src]
Expand description
The value associated with an element’s attribute.
For , the element attribute value would be
ElementAttributeValue::Bool(true)
Variants
String(String)A string attribute such as value=“My text input contents”
Bool(bool)A boolean attribute disabled=true
Implementations
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 AttributeValueimpl Send for AttributeValueimpl Sync for AttributeValueimpl Unpin for AttributeValueimpl UnwindSafe for AttributeValueBlanket Implementations
Mutably borrows from an owned value. Read more