[−][src]Enum rustc_middle::mir::visit::NonUseContext

pub enum NonUseContext {
    StorageLive,
    StorageDead,
    AscribeUserTy,
    Coverage,
    VarDebugInfo,
}

Variants

StorageLive

Starting a storage live range.

StorageDead

Ending a storage live range.

AscribeUserTy

User type annotation assertions for NLL.

Coverage

Coverage code region and counter metadata.

VarDebugInfo

The data of an user variable, for debug info.

Trait Implementations

impl Clone for NonUseContext[src]

impl Copy for NonUseContext[src]

impl Debug for NonUseContext[src]

impl Eq for NonUseContext[src]

impl PartialEq<NonUseContext> for NonUseContext[src]

impl StructuralEq for NonUseContext[src]

impl StructuralPartialEq for NonUseContext[src]

Auto Trait Implementations

impl RefUnwindSafe for NonUseContext

impl Send for NonUseContext

impl Sync for NonUseContext

impl Unpin for NonUseContext

impl UnwindSafe for NonUseContext

Blanket Implementations

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

impl<'tcx, T> ArenaAllocatable<'tcx, ()> for T where
    T: Copy, 
[src]

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

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

impl<'a, T> Captures<'a> 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> MaybeResult<T> for T[src]

type Error = !

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]