Trait snarkvm_console_network::IntegerTrait

source ·
pub trait IntegerTrait<I, U8, U16, U32>:
    IntegerCore<I>
    + Pow<U8, Output = Self, Output = Self, Output = Self>
    + Shl<U8, Output = Self, Output = Self, Output = Self, Output = Self, Output = Self, Output = Self>
    + for<'a> Shl<&'a U8>
    + ShlChecked<U8, Output = Self, Output = Self, Output = Self>
    + ShlWrapped<U8, Output = Self, Output = Self, Output = Self>
    + ShlAssign<U8>
    + Shr<U8, Output = Self, Output = Self, Output = Self, Output = Self, Output = Self, Output = Self>
    + for<'a> Shr<&'a U8>
    + ShrChecked<U8, Output = Self, Output = Self, Output = Self>
    + ShrWrapped<U8, Output = Self, Output = Self, Output = Self>
    + ShrAssign<U8>
    + Pow<U16>
    + Shl<U16>
    + for<'a> Shl<&'a U16>
    + ShlChecked<U16>
    + ShlWrapped<U16>
    + ShlAssign<U16>
    + Shr<U16>
    + for<'a> Shr<&'a U16>
    + ShrChecked<U16>
    + ShrWrapped<U16>
    + ShrAssign<U16>
    + Pow<U32>
    + Shl<U32>
    + for<'a> Shl<&'a U32>
    + ShlChecked<U32>
    + ShlWrapped<U32>
    + ShlAssign<U32>
    + Shr<U32>
    + for<'a> Shr<&'a U32>
    + ShrChecked<U32>
    + ShrWrapped<U32>
    + ShrAssign<U32>
where I: IntegerType, U8: IntegerCore<u8>, U16: IntegerCore<u16>, U32: IntegerCore<u32>,
{ }
Expand description

Representation of an integer.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<E, I> IntegerTrait<I, Integer<E, u8>, Integer<E, u16>, Integer<E, u32>> for Integer<E, I>
where E: Environment, I: IntegerType,

Implementors§