logo
pub struct SegregatedAttributes<'a, MSG> {
    pub listeners: Vec<&'a Listener<Event, MSG>, Global>,
    pub plain_values: Vec<&'a AttributeValue<MSG>, Global>,
    pub styles: Vec<&'a AttributeValue<MSG>, Global>,
    pub function_calls: Vec<&'a AttributeValue<MSG>, Global>,
}
Expand description

The Attributes partition into 4 different types

Fields

listeners: Vec<&'a Listener<Event, MSG>, Global>

the listeners of the event listeners

plain_values: Vec<&'a AttributeValue<MSG>, Global>

plain attribute values

styles: Vec<&'a AttributeValue<MSG>, Global>

style attribute values

function_calls: Vec<&'a AttributeValue<MSG>, Global>

function calls

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.