[−][src]Enum rustc_mir::util::elaborate_drops::DropFlagState

pub enum DropFlagState {
    Present,
    Absent,
}

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

impl DropFlagState[src]

pub fn value(self) -> bool[src]

Trait Implementations

impl Clone for DropFlagState[src]

impl Copy for DropFlagState[src]

impl Debug for DropFlagState[src]

impl Eq for DropFlagState[src]

impl PartialEq<DropFlagState> for DropFlagState[src]

impl StructuralEq for DropFlagState[src]

impl StructuralPartialEq for DropFlagState[src]

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

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]