snarkvm_console_types_boolean

Trait IntegerType

Source
pub trait IntegerType:
    'static
    + CheckedAbs
    + CheckedNeg
    + CheckedPow
    + CheckedRem
    + CheckedShl
    + CheckedShr
    + Debug
    + Default
    + Display
    + FromBits
    + FromBytes
    + FromStr<Err = ParseIntError>
    + Hash
    + Modulo
    + Zero
    + One
    + PartialOrd
    + Send
    + Sync
    + ToBits
    + ToBytes
    + ToPrimitive
    + Uniform
    + WrappingAbs
    + WrappingAdd
    + WrappingMul
    + WrappingNeg
    + WrappingPow
    + WrappingRem
    + WrappingShl
    + WrappingShr
    + WrappingSub
    + WrappingDiv
    + IntegerProperties { }
Expand description

Trait bound for integer values. Common to both signed and unsigned integers.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl IntegerType for i8

Source§

impl IntegerType for i16

Source§

impl IntegerType for i32

Source§

impl IntegerType for i64

Source§

impl IntegerType for i128

Source§

impl IntegerType for u8

Source§

impl IntegerType for u16

Source§

impl IntegerType for u32

Source§

impl IntegerType for u64

Source§

impl IntegerType for u128

Implementors§