Enum drop_tracker::State
source · [−]pub enum State {
Alive,
Dropped,
}Expand description
A type that represents the state of a DropItem: either alive or dropped.
See the module documentation for details.
Variants
Alive
The item is alive.
Dropped
The item has been dropped, and its destructor has been called.
Implementations
Trait Implementations
impl Copy for State
impl Eq for State
impl StructuralEq for State
impl StructuralPartialEq for State
Auto Trait Implementations
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more