Enum rustc::ty::ImplOrTraitItemContainer [] [src]

pub enum ImplOrTraitItemContainer {
    TraitContainer(DefId),
    ImplContainer(DefId),
}
Unstable (rustc_private)

Variants

TraitContainer(DefId)
Unstable (rustc_private)
ImplContainer(DefId)
Unstable (rustc_private)

Methods

impl ImplOrTraitItemContainer
[src]

fn id(&self) -> DefId

Trait Implementations

Derived Implementations

impl Debug for ImplOrTraitItemContainer
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Eq for ImplOrTraitItemContainer
[src]

impl PartialEq for ImplOrTraitItemContainer
[src]

fn eq(&self, __arg_0: &ImplOrTraitItemContainer) -> bool

This method tests for self and other values to be equal, and is used by ==. Read more

fn ne(&self, __arg_0: &ImplOrTraitItemContainer) -> bool

This method tests for !=.

impl Copy for ImplOrTraitItemContainer
[src]

impl Clone for ImplOrTraitItemContainer
[src]

fn clone(&self) -> ImplOrTraitItemContainer

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