Struct rustc_typeck::middle::ty::fieldUnstable [-] [+] [src]

pub struct field<'tcx> {
    pub name: Name,
    pub mt: mt<'tcx>,
}

Fields

name
mt

Trait Implementations

impl<'tcx> HasProjectionTypes for field<'tcx>

fn has_projection_types(&self) -> bool

impl<'tcx> Repr<'tcx> for field<'tcx>

fn repr(&self, tcx: &ctxt<'tcx>) -> String

impl<'tcx> TypeFoldable<'tcx> for field<'tcx>

fn fold_with<F>(&self, folder: &mut F) -> field<'tcx> where F: TypeFolder<'tcx>

Derived Implementations

impl<'tcx> Hash for field<'tcx>

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

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

impl<'tcx> Eq for field<'tcx>

impl<'tcx> PartialEq<field<'tcx>> for field<'tcx>

fn eq(&self, __arg_0: &field<'tcx>) -> bool

fn ne(&self, __arg_0: &field<'tcx>) -> bool

impl<'tcx> Clone for field<'tcx>

fn clone(&self) -> field<'tcx>

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

impl<'tcx> Copy for field<'tcx>