Enum rustc::ty::AssociatedItemContainer [−][src]
🔬 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
TraitContainer(DefId)
🔬 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?
ImplContainer(DefId)
🔬 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?
Methods
impl AssociatedItemContainer
[src]
impl AssociatedItemContainer
pub fn assert_trait(&self) -> DefId
[src]
pub fn assert_trait(&self) -> DefId
🔬 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?
Asserts that this is the def-id of an associated item declared in a trait, and returns the trait def-id.
pub fn id(&self) -> DefId
[src]
pub fn id(&self) -> DefId
🔬 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<'a, 'tcx> HashStable<StableHashingContext<'a>> for AssociatedItemContainer
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for AssociatedItemContainer
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
🔬 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?
impl Clone for AssociatedItemContainer
[src]
impl Clone for AssociatedItemContainer
fn clone(&self) -> AssociatedItemContainer
[src]
fn clone(&self) -> AssociatedItemContainer
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)
Performs copy-assignment from source
. Read more
impl Copy for AssociatedItemContainer
[src]
impl Copy for AssociatedItemContainer
impl PartialEq for AssociatedItemContainer
[src]
impl PartialEq for AssociatedItemContainer
fn eq(&self, other: &AssociatedItemContainer) -> bool
[src]
fn eq(&self, other: &AssociatedItemContainer) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &AssociatedItemContainer) -> bool
[src]
fn ne(&self, other: &AssociatedItemContainer) -> bool
This method tests for !=
.
impl Eq for AssociatedItemContainer
[src]
impl Eq for AssociatedItemContainer
fn assert_receiver_is_total_eq(&self)
[src]
fn assert_receiver_is_total_eq(&self)
impl Debug for AssociatedItemContainer
[src]
impl Debug for AssociatedItemContainer
Auto Trait Implementations
impl Send for AssociatedItemContainer
impl Send for AssociatedItemContainer
impl Sync for AssociatedItemContainer
impl Sync for AssociatedItemContainer