Trait IntegerTypeExt

Source
pub trait IntegerTypeExt {
    // Required methods
    fn to_ty<'db>(&self, interner: DbInterner<'db>) -> Ty<'db>;
    fn initial_discriminant<'db>(&self, interner: DbInterner<'db>) -> Discr<'db>;
    fn disr_incr<'db>(
        &self,
        interner: DbInterner<'db>,
        val: Option<Discr<'db>>,
    ) -> Option<Discr<'db>>;
}

Required Methods§

Source

fn to_ty<'db>(&self, interner: DbInterner<'db>) -> Ty<'db>

Source

fn initial_discriminant<'db>(&self, interner: DbInterner<'db>) -> Discr<'db>

Source

fn disr_incr<'db>( &self, interner: DbInterner<'db>, val: Option<Discr<'db>>, ) -> Option<Discr<'db>>

Implementations on Foreign Types§

Source§

impl IntegerTypeExt for IntegerType

Source§

fn to_ty<'db>(&self, interner: DbInterner<'db>) -> Ty<'db>

Source§

fn initial_discriminant<'db>(&self, interner: DbInterner<'db>) -> Discr<'db>

Source§

fn disr_incr<'db>( &self, interner: DbInterner<'db>, val: Option<Discr<'db>>, ) -> Option<Discr<'db>>

Implementors§