Enum rustc_lint::middle::mem_categorization::ElementKind [] [src]

pub enum ElementKind {
    VecElement,
    OtherElement,
}
Unstable (rustc_private)

Variants

VecElement
Unstable (rustc_private)
OtherElement
Unstable (rustc_private)

Trait Implementations

Derived Implementations

impl Debug for ElementKind

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

impl Hash for ElementKind

fn hash<__H>(&self, __arg_0: &mut __H) where __H: Hasher

impl Eq for ElementKind

impl PartialEq<ElementKind> for ElementKind

fn eq(&self, __arg_0: &ElementKind) -> 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

This method tests for !=.

impl Copy for ElementKind

impl Clone for ElementKind

fn clone(&self) -> ElementKind

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