References to traits in impls.
resolve maps each
ref_id to its defining trait; that’s all
ref_id is for. Note that
ref_id’s value is not the
HirId of the
trait being referred to but just a unique
HirId that serves as a key
within the resolution map.
path: &'hir Path<'hir>§
DefId of the referenced trait. It must actually be a trait or trait alias.
Auto Trait Implementations§
Returns the argument unchanged.
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