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

pub enum DropFlagMode {
    Shallow,
    Deep,
}

Which drop flags to affect/check with an operation.

Variants

Shallow

Only affect the top-level drop flag, not that of any contained fields.

Deep

Affect all nested drop flags in addition to the top-level one.

Trait Implementations

impl Debug for DropFlagMode[src]

Auto Trait Implementations

impl RefUnwindSafe for DropFlagMode

impl Send for DropFlagMode

impl Sync for DropFlagMode

impl Unpin for DropFlagMode

impl UnwindSafe for DropFlagMode

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, 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]