pub struct MovableContent { /* private fields */ }Expand description
Movable content held as a value. See rememberMovableContentOf.
Implementations§
Source§impl MovableContent
impl MovableContent
Sourcepub fn show(&self)
pub fn show(&self)
Shows the content here. Calling this from a different parent than last pass moves the content, with its remembered values, its running effects and its nodes.
Sourcepub fn forget(&self)
pub fn forget(&self)
Releases the content’s state once no parent is showing it, for
content the application has closed for good. See forget_movable.
Trait Implementations§
Source§impl Clone for MovableContent
impl Clone for MovableContent
Source§impl Debug for MovableContent
impl Debug for MovableContent
Auto Trait Implementations§
impl !RefUnwindSafe for MovableContent
impl !Send for MovableContent
impl !Sync for MovableContent
impl !UnwindSafe for MovableContent
impl Freeze for MovableContent
impl Unpin for MovableContent
impl UnsafeUnpin for MovableContent
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