Struct rustc::middle::privacy::AccessLevels
[−]
[src]
pub struct AccessLevels<Id = NodeId> { pub map: FnvHashMap<Id, AccessLevel>, }
Unstable (
rustc_private
)Fields
map: FnvHashMap<Id, AccessLevel>
Unstable (
rustc_private
)Methods
impl<Id: Hash + Eq> AccessLevels<Id>
[src]
fn is_reachable(&self, id: Id) -> bool
fn is_exported(&self, id: Id) -> bool
fn is_public(&self, id: Id) -> bool
Trait Implementations
impl<Id: Hash + Eq> Default for AccessLevels<Id>
[src]
impl<Id: Hash + Eq + Debug> Debug for AccessLevels<Id>
[src]
Derived Implementations
impl<Id: Clone> Clone for AccessLevels<Id>
[src]
fn clone(&self) -> AccessLevels<Id>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more