[−][src]Trait rustc_middle::ty::util::IntTypeExt

pub trait IntTypeExt {
    pub fn to_ty<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx>;
pub fn disr_incr<'tcx>(
        &self,
        tcx: TyCtxt<'tcx>,
        val: Option<Discr<'tcx>>
    ) -> Option<Discr<'tcx>>;
pub fn initial_discriminant<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Discr<'tcx>; }

Required methods

pub fn to_ty<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Ty<'tcx>[src]

pub fn disr_incr<'tcx>(
    &self,
    tcx: TyCtxt<'tcx>,
    val: Option<Discr<'tcx>>
) -> Option<Discr<'tcx>>
[src]

pub fn initial_discriminant<'tcx>(&self, tcx: TyCtxt<'tcx>) -> Discr<'tcx>[src]

Loading content...

Implementations on Foreign Types

impl IntTypeExt for IntType[src]

Loading content...

Implementors

Loading content...