Struct rustc_data_structures::OnDrop
source · pub struct OnDrop<F: Fn()>(pub F);
Tuple Fields§
§0: F
Implementations§
Trait Implementations§
Auto Trait Implementations§
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§
impl<'a, T> Captures<'a> for Twhere
T: ?Sized,
impl<T> Erased for T
Layout§
Note: Unable to compute type layout, possibly due to this type having generic parameters. Layout can only be computed for concrete, fully-instantiated types.