Struct rustc_data_structures::OnDrop[][src]

pub struct OnDrop<F: Fn()>(pub F);
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Trait Implementations

impl<F: Fn()> Drop for OnDrop<F>
[src]

Executes the destructor for this type. Read more

Auto Trait Implementations

impl<F> Send for OnDrop<F> where
    F: Send

impl<F> Sync for OnDrop<F> where
    F: Sync