pub struct RecomposeScope { /* private fields */ }Expand description
The scope composing now, to be told to run again by hand. Compose’s
currentRecomposeScope.
Implementations§
Source§impl RecomposeScope
impl RecomposeScope
Sourcepub fn invalidate(&self)
pub fn invalidate(&self)
Runs the scope again on the next frame, whether or not anything it read changed. Called on the UI thread; a worker writes a state instead.
Trait Implementations§
Source§impl Clone for RecomposeScope
impl Clone for RecomposeScope
impl Copy for RecomposeScope
Auto Trait Implementations§
impl Freeze for RecomposeScope
impl RefUnwindSafe for RecomposeScope
impl Send for RecomposeScope
impl Sync for RecomposeScope
impl Unpin for RecomposeScope
impl UnsafeUnpin for RecomposeScope
impl UnwindSafe for RecomposeScope
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