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

pub struct mt<'tcx> {
    pub ty: &'tcx TyS<'tcx>,
    pub mutbl: Mutability,
}

Fields

ty
mutbl

Trait Implementations

impl<'tcx> TypeFoldable<'tcx> for mt<'tcx>

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

impl<'tcx> Repr<'tcx> for mt<'tcx>

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

Derived Implementations

impl<'tcx> Show for mt<'tcx>

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

impl<'tcx, __S: Writer> Hash<__S> for mt<'tcx>

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

impl<'tcx> Eq for mt<'tcx>

fn assert_receiver_is_total_eq(&self)

impl<'tcx> PartialEq<mt<'tcx>> for mt<'tcx>

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

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

fn ne(&self, &mt<'tcx>) -> bool

impl<'tcx> Copy for mt<'tcx>

impl<'tcx> Clone for mt<'tcx>

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

fn clone_from(&mut self, &mt<'tcx>)