Struct rustc_typeck::hir::Item [] [src]

pub struct Item {
    pub name: Symbol,
    pub attrs: P<[Attribute]>,
    pub id: NodeId,
    pub node: Item_,
    pub vis: Visibility,
    pub span: Span,
}
🔬 This is a nightly-only experimental API. (rustc_private)

An item

The name might be a dummy name in case of anonymous items

Fields

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

Trait Implementations

impl Decodable for Item
[src]

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

impl MaybeFnLike for Item
[src]

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

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Eq for Item
[src]

impl Debug for Item
[src]

Formats the value using the given formatter.

impl Encodable for Item
[src]

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