pub struct WidgetMountOrChangeContext<'a> {
pub id: &'a WidgetId,
pub props: &'a Props,
pub shared_props: &'a Props,
pub state: State<'a>,
pub messenger: Messenger<'a>,
pub signals: SignalSender,
pub animator: Animator<'a>,
pub view_models: ViewModelCollectionView<'a>,
}
Fields§
§id: &'a WidgetId
§props: &'a Props
§state: State<'a>
§messenger: Messenger<'a>
§signals: SignalSender
§animator: Animator<'a>
§view_models: ViewModelCollectionView<'a>
Auto Trait Implementations§
impl<'a> Freeze for WidgetMountOrChangeContext<'a>
impl<'a> !RefUnwindSafe for WidgetMountOrChangeContext<'a>
impl<'a> Send for WidgetMountOrChangeContext<'a>
impl<'a> Sync for WidgetMountOrChangeContext<'a>
impl<'a> Unpin for WidgetMountOrChangeContext<'a>
impl<'a> !UnwindSafe for WidgetMountOrChangeContext<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more