Enum rustc_middle::middle::region::ScopeData [−][src]
pub enum ScopeData {
Node,
CallSite,
Arguments,
Destruction,
Remainder(FirstStatementIndex),
}Variants
Scope of the call-site for a function or closure (outlives the arguments as well as the body).
Scope of arguments passed to a function or closure (they outlive its body).
Scope of destructors for temporaries of node-id.
Scope following a let id = expr; binding in a block.
Tuple Fields of Remainder
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for ScopeData
impl UnwindSafe for ScopeData
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 4 bytes