Trait rustc_middle::ty::layout::PrimitiveExt [−][src]
pub trait PrimitiveExt {
fn to_ty<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx>;
fn to_int_ty<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx>;
}Required methods
fn to_ty<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx>[src]
fn to_int_ty<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx>[src]
Implementations on Foreign Types
impl PrimitiveExt for Primitive[src]
impl PrimitiveExt for Primitive[src]