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 AssociatedItemContainerpub 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 AssociatedItemContainerfn 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 AssociatedItemContainerfn clone(&self) -> AssociatedItemContainer[src]
fn clone(&self) -> AssociatedItemContainerReturns 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 AssociatedItemContainerimpl PartialEq for AssociatedItemContainer[src]
impl PartialEq for AssociatedItemContainerfn eq(&self, other: &AssociatedItemContainer) -> bool[src]
fn eq(&self, other: &AssociatedItemContainer) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for AssociatedItemContainer[src]
impl Eq for AssociatedItemContainerfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl Debug for AssociatedItemContainer[src]
impl Debug for AssociatedItemContainerAuto Trait Implementations
impl Send for AssociatedItemContainer
impl Send for AssociatedItemContainerimpl Sync for AssociatedItemContainer
impl Sync for AssociatedItemContainer