Trait rustc_typeck::ty::layout::PrimitiveExt [−][src]
pub trait PrimitiveExt {
fn to_ty(&self, tcx: TyCtxt<'tcx>) -> &'tcx TyS<'tcx>;
fn to_int_ty(&self, tcx: TyCtxt<'tcx>) -> &'tcx TyS<'tcx>;
}pub trait PrimitiveExt {
fn to_ty(&self, tcx: TyCtxt<'tcx>) -> &'tcx TyS<'tcx>;
fn to_int_ty(&self, tcx: TyCtxt<'tcx>) -> &'tcx TyS<'tcx>;
}