Struct rustc::middle::region::BlockRemainder [] [src]

pub struct BlockRemainder {
    pub block: NodeId,
    pub first_statement_index: u32,
}
🔬 This is a nightly-only experimental API. (rustc_private)

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

🔬 This is a nightly-only experimental API. (rustc_private)
🔬 This is a nightly-only experimental API. (rustc_private)

Trait Implementations

impl Clone for BlockRemainder
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for BlockRemainder
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for BlockRemainder
[src]

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Eq for BlockRemainder
[src]

impl Ord for BlockRemainder
[src]

This method returns an Ordering between self and other. Read more

impl Hash for BlockRemainder
[src]

Feeds this value into the state given, updating the hasher as necessary.

Feeds a slice of this type into the state provided.

impl Encodable for BlockRemainder
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Decodable for BlockRemainder
[src]

🔬 This is a nightly-only experimental API. (rustc_private)

deprecated in favor of rustc-serialize on crates.io

impl Debug for BlockRemainder
[src]

Formats the value using the given formatter.

impl Copy for BlockRemainder
[src]