Struct embassy_hal_internal::drop::OnDrop
source · pub struct OnDrop<F: FnOnce()> { /* private fields */ }
Expand description
A type to delay the drop handler invocation.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<F> Freeze for OnDrop<F>where
F: Freeze,
impl<F> RefUnwindSafe for OnDrop<F>where
F: RefUnwindSafe,
impl<F> Send for OnDrop<F>where
F: Send,
impl<F> Sync for OnDrop<F>where
F: Sync,
impl<F> Unpin for OnDrop<F>where
F: Unpin,
impl<F> UnwindSafe for OnDrop<F>where
F: UnwindSafe,
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