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

pub struct CodeExtent(_);
🔬 This is a nightly-only experimental API. (rustc_private)

Methods

impl CodeExtent
[src]

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

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

Returns the span of this CodeExtent. Note that in general the returned span may not correspond to the span of any node id in the AST.

Trait Implementations

impl Clone for CodeExtent
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

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

impl Ord for CodeExtent
[src]

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

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

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

deprecated in favor of rustc-serialize on crates.io

impl Decodable for CodeExtent
[src]

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

deprecated in favor of rustc-serialize on crates.io

impl Copy for CodeExtent
[src]

impl Debug for CodeExtent
[src]

Formats the value using the given formatter.