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

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


map: FxHashMap<Id, AccessLevel>


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

impl<T> Borrow<T> for T where
    T: ?Sized

impl<T> BorrowMut<T> for T where
    T: ?Sized

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

impl<Ctxt, T> DepNodeParams<Ctxt> for T where
    Ctxt: DepContext,
    T: HashStable<<Ctxt as DepContext>::StableHashingContext> + Debug

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

impl<T, U> Into<U> for T where
    U: From<T>, 

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

type Error = !

impl<T> ToOwned for T where
    T: Clone

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

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

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]