pub struct Unmount {
pub activated: bool,
pub on_unmount: Box<dyn Fn()>,
}
Fields§
§activated: bool
§on_unmount: Box<dyn Fn()>
Implementations§
Auto Trait Implementations§
impl Freeze for Unmount
impl !RefUnwindSafe for Unmount
impl !Send for Unmount
impl !Sync for Unmount
impl Unpin for Unmount
impl !UnwindSafe for Unmount
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