[−][src]Trait drop_take::Take
Types that can be taken from during DropTake
-powered deconstructing.
Associated Types
type Value
Required Methods
unsafe fn take(slot: &mut Self) -> Self::Value
Take the contained value out of this container.
slot
must not be used after calling this method, except to drop it.
Dropping slot
after calling this method must be safe and not drop the taken value.
Implementations on Foreign Types
impl<T: Default> Take for Cell<T>
[src]
impl<T: Default> Take for Cell<T>
impl<T> Take for Option<T>
[src]
impl<T> Take for Option<T>
impl<T> Take for ManuallyDrop<T>
[src]
impl<T> Take for ManuallyDrop<T>