Trait rustc_monomorphize::ty::layout::IntegerExt[−][src]

pub trait IntegerExt {
    fn to_ty(&self, tcx: TyCtxt<'tcx>, signed: bool) -> &'tcx TyS<'tcx>;
fn from_attr<C>(cx: &C, ity: IntType) -> Integer
    where
        C: HasDataLayout
;
fn from_int_ty<C>(cx: &C, ity: IntTy) -> Integer
    where
        C: HasDataLayout
;
fn from_uint_ty<C>(cx: &C, uty: UintTy) -> Integer
    where
        C: HasDataLayout
;
fn repr_discr(
        tcx: TyCtxt<'tcx>,
        ty: &'tcx TyS<'tcx>,
        repr: &ReprOptions,
        min: i128,
        max: i128
    ) -> (Integer, bool); }

Required methods

Implementors