Struct rustc_typeck::hir::BodyId [] [src]

pub struct BodyId {
    pub node_id: NodeId,
}
🔬 This is a nightly-only experimental API. (rustc_private)

Fields

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

Trait Implementations

impl Decodable for BodyId
[src]

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

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

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

This method tests for !=.

impl Hash for BodyId
[src]

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

Feeds a slice of this type into the state provided.

impl<'a, 'tcx> InferEnv<'a, 'tcx> for BodyId
[src]

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

impl DepGraphSafe for BodyId
[src]

A BodyId on its own doesn't give access to any particular state. You must fetch the state from the various maps or generate on-demand queries, all of which create reads.

impl Clone for BodyId
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for BodyId
[src]

impl Debug for BodyId
[src]

Formats the value using the given formatter.

impl Encodable for BodyId
[src]

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

impl Copy for BodyId
[src]

impl Ord for BodyId
[src]

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