pub enum AttributeValue<MSG> {
    FunctionCall(Value),
    Simple(Value),
    Style(Vec<Style>),
    EventListener(Listener<MSG>),
    Empty,
}
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(Vec<Style>)

style values

EventListener(Listener<MSG>)

Event Listener

Empty

no value

Implementations

create an attribute from Vec