Struct rustc_middle::hir::AttributeMap [−][src]
pub struct AttributeMap<'tcx> {
map: &'tcx BTreeMap<HirId, &'tcx [Attribute]>,
prefix: LocalDefId,
}Expand description
Attributes owner by a HIR owner. It is build as a slice inside the attributes map, restricted
to the nodes whose HirId::owner is prefix.
Fields
map: &'tcx BTreeMap<HirId, &'tcx [Attribute]>prefix: LocalDefIdImplementations
Trait Implementations
Auto Trait Implementations
impl<'tcx> !RefUnwindSafe for AttributeMap<'tcx>impl<'tcx> !Send for AttributeMap<'tcx>impl<'tcx> !Sync for AttributeMap<'tcx>impl<'tcx> Unpin for AttributeMap<'tcx>impl<'tcx> !UnwindSafe for AttributeMap<'tcx>Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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