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, RandomState>,
pub listed_slots: Vec<WidgetNode, Global>,
pub process_context: &'a mut ProcessContext<'b>,
}
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.