[−][src]Struct rustc_middle::middle::privacy::AccessLevels

pub struct AccessLevels<Id = HirId> {
    pub map: FxHashMap<Id, AccessLevel>,
}

Fields

map: FxHashMap<Id, AccessLevel>

Implementations

impl<Id: Hash + Eq> AccessLevels<Id>[src]

pub fn is_reachable(&self, id: Id) -> bool[src]

See AccessLevel::Reachable.

pub fn is_exported(&self, id: Id) -> bool[src]

See AccessLevel::Exported.

pub fn is_public(&self, id: Id) -> bool[src]

See AccessLevel::Public.

Trait Implementations

impl<'tcx> ArenaAllocatable<'tcx, AccessLevels<HirId>> for AccessLevels[src]

impl<Id: Clone> Clone for AccessLevels<Id>[src]

impl<Id: Hash + Eq + Debug> Debug for AccessLevels<Id>[src]

impl<Id: Hash + Eq> Default for AccessLevels<Id>[src]

impl<'a> HashStable<StableHashingContext<'a>> for AccessLevels[src]

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

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T> ToOwned for T where
    T: Clone, 
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]