Struct rustc_resolve::PerNS
[−]
[src]
pub struct PerNS<T> { /* fields omitted */ }
🔬 This is a nightly-only experimental API. (
rustc_private
)Trait Implementations
impl<T: Clone> Clone for PerNS<T>
[src]
fn clone(&self) -> PerNS<T>
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
impl<T: Default> Default for PerNS<T>
[src]
impl<T: Debug> Debug for PerNS<T>
[src]
impl<T> Index<Namespace> for PerNS<T>
[src]
type Output = T
The returned type after indexing
fn index(&self, ns: Namespace) -> &T
The method for the indexing (container[index]
) operation