Struct rustc_typeck::hir::Body [] [src]

pub struct Body {
    pub arguments: P<[Arg]>,
    pub value: Expr,
}
🔬 This is a nightly-only experimental API. (rustc_private)

The body of a function or constant value.

Fields

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

Methods

impl Body
[src]

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

Trait Implementations

impl Decodable for Body
[src]

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

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

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

Feeds a slice of this type into the state provided.

impl Clone for Body
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Body
[src]

impl Debug for Body
[src]

Formats the value using the given formatter.

impl Encodable for Body
[src]

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