Struct nodrop::NoDrop
[−]
[src]
pub struct NoDrop<T>(_);
A type holding T that will not call its destructor on drop
Methods
impl<T> NoDrop<T>
fn new(value: T) -> NoDrop<T>
Create a new NoDrop.
fn into_inner(self) -> T
Extract the inner value.
Once extracted, the value can of course drop again.