Struct rustc::middle::privacy::AccessLevels
[−]
[src]
pub struct AccessLevels<Id = NodeId> { pub map: FxHashMap<Id, AccessLevel>, }
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Fields
map: FxHashMap<Id, AccessLevel>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl<Id: Hash + Eq> AccessLevels<Id>[src]
impl<Id: Hash + Eq> AccessLevels<Id>pub fn is_reachable(&self, id: Id) -> bool[src]
pub fn is_reachable(&self, id: Id) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn is_exported(&self, id: Id) -> bool[src]
pub fn is_exported(&self, id: Id) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn is_public(&self, id: Id) -> bool[src]
pub fn is_public(&self, id: Id) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl<'a> HashStable<StableHashingContext<'a>> for AccessLevels[src]
impl<'a> HashStable<StableHashingContext<'a>> for AccessLevelsfn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)[src]
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'a>,
hasher: &mut StableHasher<W>
)🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
impl<Id: Clone> Clone for AccessLevels<Id>[src]
impl<Id: Clone> Clone for AccessLevels<Id>fn clone(&self) -> 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[src]
fn clone_from(&mut self, source: &Self)Performs copy-assignment from source. Read more
impl<Id: Hash + Eq> Default for AccessLevels<Id>[src]
impl<Id: Hash + Eq> Default for AccessLevels<Id>impl<Id: Hash + Eq + Debug> Debug for AccessLevels<Id>[src]
impl<Id: Hash + Eq + Debug> Debug for AccessLevels<Id>Auto Trait Implementations
impl<Id> Send for AccessLevels<Id> where
Id: Send,
impl<Id> Send for AccessLevels<Id> where
Id: Send, impl<Id> Sync for AccessLevels<Id> where
Id: Sync,
impl<Id> Sync for AccessLevels<Id> where
Id: Sync,