Trait destruct_drop::DestructDrop[][src]

pub trait DestructDrop {
    fn destruct_drop(self);
}
Expand description

Trait for consuming a struct or enum without dropping it while dropping all of its contents normally.

Required methods

Consume self without dropping it while dropping all of its contents normally.

Implementors