Item in rustc_hir::hir - Rust (original) (raw)
pub struct Item<'hir> {
pub owner_id: OwnerId,
pub kind: ItemKind<'hir>,
pub span: Span,
pub vis_span: Span,
pub has_delayed_lints: bool,
}
Expand description
An item
For more details, see the rust lang reference. Note that the reference does not document nightly-only features. There may be also slight differences in the names and representation of AST nodes between the compiler and the reference.
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 88 bytes