pub enum DropFlagState {
Present,
Absent,
}
Expand description
The value of an inserted drop flag.
Variants
Present
The tracked value is initialized and needs to be dropped when leaving its scope.
Absent
The tracked value is uninitialized or was moved out of and does not need to be dropped when leaving its scope.
Implementations
sourceimpl DropFlagState
impl DropFlagState
Trait Implementations
sourceimpl Clone for DropFlagState
impl Clone for DropFlagState
sourcefn clone(&self) -> DropFlagState
fn clone(&self) -> DropFlagState
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DropFlagState
impl Debug for DropFlagState
sourceimpl PartialEq<DropFlagState> for DropFlagState
impl PartialEq<DropFlagState> for DropFlagState
sourcefn eq(&self, other: &DropFlagState) -> bool
fn eq(&self, other: &DropFlagState) -> bool
impl Copy for DropFlagState
impl Eq for DropFlagState
impl StructuralEq for DropFlagState
impl StructuralPartialEq for DropFlagState
Auto Trait Implementations
impl RefUnwindSafe for DropFlagState
impl Send for DropFlagState
impl Sync for DropFlagState
impl Unpin for DropFlagState
impl UnwindSafe for DropFlagState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 1 byte
Size for each variant:
Present
: 0 bytesAbsent
: 0 bytes