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

pub struct AccessLevels<Id = u32> {
    pub map: HashMap<Id, AccessLevelBuildHasherDefault<FnvHasher>>,
}
Unstable (rustc_private)

Fields

map: HashMap<Id, AccessLevelBuildHasherDefault<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

fn fmt(&self, f: &mut Formatter) -> Result<()Error>

Formats the value using the given formatter.

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