struct CallOnDrop<O, F: FnOnce() -> O> {
    f: ManuallyDrop<F>,
}Fields§
§f: ManuallyDrop<F>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<O, F> Freeze for CallOnDrop<O, F>where
    F: Freeze,
impl<O, F> RefUnwindSafe for CallOnDrop<O, F>where
    F: RefUnwindSafe,
impl<O, F> Send for CallOnDrop<O, F>where
    F: Send,
impl<O, F> Sync for CallOnDrop<O, F>where
    F: Sync,
impl<O, F> Unpin for CallOnDrop<O, F>where
    F: Unpin,
impl<O, F> UnwindSafe for CallOnDrop<O, 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