Struct rustc::middle::region::BlockRemainderUnstable [-] [+] [src]

pub struct BlockRemainder {
    pub block: NodeId,
    pub first_statement_index: usize,
}

Represents a subscope of block for a binding that is introduced by block.stmts[first_statement_index]. Such subscopes represent a suffix of the block. Note that each subscope does not include the initializer expression, if any, for the statement indexed by first_statement_index.

For example, given { let (a, b) = EXPR_1; let c = EXPR_2; ... }:

Fields

block
first_statement_index

Trait Implementations

Derived Implementations

impl Copy for BlockRemainder

impl Debug for BlockRemainder

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Decodable for BlockRemainder

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<BlockRemainder, __D>

impl Encodable for BlockRemainder

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S>

impl Hash for BlockRemainder

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Ord for BlockRemainder

fn cmp(&self, __arg_0: &BlockRemainder) -> Ordering

impl Eq for BlockRemainder

impl PartialOrd for BlockRemainder

fn partial_cmp(&self, __arg_0: &BlockRemainder) -> Option<Ordering>

fn lt(&self, __arg_0: &BlockRemainder) -> bool

fn le(&self, __arg_0: &BlockRemainder) -> bool

fn gt(&self, __arg_0: &BlockRemainder) -> bool

fn ge(&self, __arg_0: &BlockRemainder) -> bool

impl PartialEq for BlockRemainder

fn eq(&self, __arg_0: &BlockRemainder) -> bool

fn ne(&self, __arg_0: &BlockRemainder) -> bool

impl Clone for BlockRemainder

fn clone(&self) -> BlockRemainder

fn clone_from(&mut self, source: &Self)