Struct rustc::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: TypeFolder<'tcx>>(&self, folder: &mut F) -> field<'tcx>

Derived Implementations

impl<'tcx, __S: Writer + Hasher> Hash<__S> for field<'tcx>

fn hash(&self, __arg_0: &mut __S)

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

fn assert_receiver_is_total_eq(&self)

impl<'tcx> PartialEq 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>