pub struct UpdateCx<'a> { /* private fields */ }
Implementations§
source§impl<'a> UpdateCx<'a>
impl<'a> UpdateCx<'a>
sourcepub fn request_all(&mut self, id: Id)
pub fn request_all(&mut self, id: Id)
request that this node be styled, laid out and painted again This will recursively request this for all parents.
sourcepub fn request_style(&mut self, id: Id)
pub fn request_style(&mut self, id: Id)
request that this node be styled again This will recursively request style for all parents.
sourcepub fn request_layout(&mut self, id: Id)
pub fn request_layout(&mut self, id: Id)
request that this node be laid out again
This will recursively request layout for all parents and set the ChangeFlag::LAYOUT
at root
pub fn app_state_mut(&mut self) -> &mut AppState
pub fn app_state(&self) -> &AppState
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for UpdateCx<'a>
impl<'a> !Send for UpdateCx<'a>
impl<'a> !Sync for UpdateCx<'a>
impl<'a> Unpin for UpdateCx<'a>
impl<'a> !UnwindSafe for UpdateCx<'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