Enum rustc_typeck::namespace::Namespace [−][src]
pub enum Namespace { Type, Value, }
🔬 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?
Variants
Type
🔬 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?
Value
🔬 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 Copy for Namespace
[src]
impl Copy for Namespace
impl Clone for Namespace
[src]
impl Clone for Namespace
fn clone(&self) -> Namespace
[src]
fn clone(&self) -> Namespace
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)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for Namespace
[src]
impl PartialEq for Namespace
fn eq(&self, other: &Namespace) -> bool
[src]
fn eq(&self, other: &Namespace) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Namespace
[src]
impl Eq for Namespace
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Debug for Namespace
[src]
impl Debug for Namespace
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl From<AssociatedKind> for Namespace
[src]
impl From<AssociatedKind> for Namespace
fn from(a_kind: AssociatedKind) -> Self
[src]
fn from(a_kind: AssociatedKind) -> Self
Performs the conversion.
impl<'a> From<&'a ImplItemKind> for Namespace
[src]
impl<'a> From<&'a ImplItemKind> for Namespace
fn from(impl_kind: &'a ImplItemKind) -> Self
[src]
fn from(impl_kind: &'a ImplItemKind) -> Self
Performs the conversion.