pub type Value<'tcx> = MaybeOwner<&'tcx OwnerNodes<'tcx>>;

Aliased Type§

enum Value<'tcx> {
    Owner(&'tcx OwnerNodes<'tcx>),
    NonOwner(HirId),
    Phantom,
}

Variants§

§

Owner(&'tcx OwnerNodes<'tcx>)

§

NonOwner(HirId)

§

Phantom

Used as a placeholder for unused LocalDefId.

Layout§

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: 16 bytes

Size for each variant:

  • Owner: 12 bytes
  • NonOwner: 8 bytes
  • Phantom: 0 bytes