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>,
}
Formats the value using the given formatter. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.