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

pub enum FieldName {
    NamedField(Name),
    PositionalField(usize),
}
Unstable (rustc_private)

Variants

NamedField(Name)
Unstable (rustc_private)
PositionalField(usize)
Unstable (rustc_private)

Trait Implementations

Derived Implementations

impl Debug for FieldName

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

impl Hash for FieldName

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

impl Eq for FieldName

impl PartialEq<FieldName> for FieldName

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

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

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

This method tests for !=.

impl Copy for FieldName

impl Clone for FieldName

fn clone(&self) -> FieldName

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