Struct rustc_typeck::middle::privacy::AccessLevels
[−]
[src]
pub struct AccessLevels<Id = u32> { pub map: HashMap<Id, AccessLevel, BuildHasherDefault<FnvHasher>>, }
Unstable (
rustc_private
)Fields
map: HashMap<Id, AccessLevel, BuildHasherDefault<FnvHasher>>
Unstable (
rustc_private
)Methods
impl<Id> AccessLevels<Id> where Id: Eq + Hash
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> Default for AccessLevels<Id> where Id: Eq + Hash
fn default() -> AccessLevels<Id>
impl<Id> Debug for AccessLevels<Id> where Id: Eq + Hash + Debug
Derived Implementations
impl<Id> Clone for AccessLevels<Id> where Id: Clone
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