[−][src]Trait into_inner_drop::DetachedDrop
A replacement trait for providing Drop implementation.
Since self
is not used, it's recommended to create an empty enum and implement this trait for
it.
Associated Types
type Implementor
The inner type you want to implement Drop for.
Required methods
fn drop(value: Self::Implementor)
The drop implementation called by IntoInnerHelper<Self::Implementor, Self>
.
This function will only be called if into_inner
was NOT called.