Struct raui_core::widget::context::WidgetContext[][src]

pub struct WidgetContext<'a, 'b> {
    pub id: &'a WidgetId,
    pub idref: Option<&'a WidgetRef>,
    pub key: &'a str,
    pub props: &'a mut Props,
    pub shared_props: &'a mut Props,
    pub state: State<'a>,
    pub animator: &'a AnimatorStates,
    pub life_cycle: &'a mut WidgetLifeCycle,
    pub named_slots: HashMap<String, WidgetNode>,
    pub listed_slots: Vec<WidgetNode>,
    pub process_context: &'a mut ProcessContext<'b>,
}

Fields

id: &'a WidgetIdidref: Option<&'a WidgetRef>key: &'a strprops: &'a mut Propsshared_props: &'a mut Propsstate: State<'a>animator: &'a AnimatorStateslife_cycle: &'a mut WidgetLifeCyclenamed_slots: HashMap<String, WidgetNode>listed_slots: Vec<WidgetNode>process_context: &'a mut ProcessContext<'b>

Implementations

Trait Implementations

Formats the value using the given formatter. Read more

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

Performs the conversion.

Performs the conversion.

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.