Struct rustc_typeck::middle::ty::mtUnstable [-] [+] [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>(&self, folder: &mut F) -> mt<'tcx> where F: TypeFolder<'tcx>

impl<'a, 'tcx> Relate<'a, 'tcx> for mt<'tcx> where 'tcx: 'a

fn relate<R>(relation: &mut R, a: &mt<'tcx>, b: &mt<'tcx>) -> Result<mt<'tcx>, type_err<'tcx>> where R: TypeRelation<'a, 'tcx>

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

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

Derived Implementations

impl<'tcx> Debug for mt<'tcx>

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

impl<'tcx> Hash for mt<'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 mt<'tcx>

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

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

fn ne(&self, __arg_0: &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, source: &Self)