[−][src]Enum rustc_middle::middle::region::ScopeData

pub enum ScopeData {
    Node,
    CallSite,
    Arguments,
    Destruction,
    Remainder(FirstStatementIndex),
}

Variants

Node
CallSite

Scope of the call-site for a function or closure (outlives the arguments as well as the body).

Arguments

Scope of arguments passed to a function or closure (they outlive its body).

Destruction

Scope of destructors for temporaries of node-id.

Remainder(FirstStatementIndex)

Scope following a let id = expr; binding in a block.

Trait Implementations

impl Clone for ScopeData[src]

impl Copy for ScopeData[src]

impl Debug for ScopeData[src]

impl<'tcx, __D: TyDecoder<'tcx>> Decodable<__D> for ScopeData[src]

impl<'tcx, __E: TyEncoder<'tcx>> Encodable<__E> for ScopeData[src]

impl Eq for ScopeData[src]

impl Hash for ScopeData[src]

impl<'__ctx> HashStable<StableHashingContext<'__ctx>> for ScopeData[src]

impl Ord for ScopeData[src]

impl PartialEq<ScopeData> for ScopeData[src]

impl PartialOrd<ScopeData> for ScopeData[src]

impl StructuralEq for ScopeData[src]

impl StructuralPartialEq for ScopeData[src]

Auto Trait Implementations

impl RefUnwindSafe for ScopeData

impl Send for ScopeData

impl Sync for ScopeData

impl Unpin for ScopeData

impl UnwindSafe for ScopeData

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]