Enum rustc::ty::BoundRegion [] [src]

pub enum BoundRegion {
    BrAnon(u32),
    BrNamed(DefIdName),
    BrFresh(u32),
    BrEnv,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Variants

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

An anonymous region parameter for a given fn (&T)

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

Named region parameters for functions (a in &'a T)

The def-id is needed to distinguish free regions in the event of shadowing.

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

Fresh bound identifiers created during GLB computations.

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

Trait Implementations

impl Clone for BoundRegion
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for BoundRegion
[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 BoundRegion
[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 BoundRegion
[src]

impl Ord for BoundRegion
[src]

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

impl Hash for BoundRegion
[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 BoundRegion
[src]

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

deprecated in favor of rustc-serialize on crates.io

impl Decodable for BoundRegion
[src]

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

deprecated in favor of rustc-serialize on crates.io

impl Copy for BoundRegion
[src]

impl Display for BoundRegion
[src]

Formats the value using the given formatter. Read more

impl Debug for BoundRegion
[src]

Formats the value using the given formatter.