Struct rustc_middle::middle::privacy::AccessLevels [−][src]
pub struct AccessLevels<Id = HirId> { pub map: FxHashMap<Id, AccessLevel>, }
Expand description
Holds a map of accessibility levels for reachable HIR nodes.
Fields
map: FxHashMap<Id, AccessLevel>Implementations
See AccessLevel::Reachable.
See AccessLevel::Exported.
Trait Implementations
fn allocate_from_iter<'a>(
arena: &'a Arena<'tcx>,
iter: impl IntoIterator<Item = Self>
) -> &'a mut [Self]Auto Trait Implementations
impl<Id> RefUnwindSafe for AccessLevels<Id> where
Id: RefUnwindSafe, impl<Id> Send for AccessLevels<Id> where
Id: Send, impl<Id> Sync for AccessLevels<Id> where
Id: Sync, impl<Id> Unpin for AccessLevels<Id> where
Id: Unpin, impl<Id> UnwindSafe for AccessLevels<Id> where
Id: UnwindSafe, 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: 32 bytes