Struct syntax::ast::TypeFieldUnstable [-] [+] [src]

pub struct TypeField {
    pub ident: Ident,
    pub mt: MutTy,
    pub span: Span,
}

Fields

ident
mt
span

Trait Implementations

Derived Implementations

impl Debug for TypeField

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

impl Hash for TypeField

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

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for TypeField

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<TypeField, Error>

impl Encodable for TypeField

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), Error>

impl Eq for TypeField

fn assert_receiver_is_total_eq(&self)

impl PartialEq for TypeField

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

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

impl Clone for TypeField

fn clone(&self) -> TypeField

fn clone_from(&mut self, source: &Self)