pub trait Bounded {
    const BITS: usize;
    const BYTES: usize;
}
Expand description

Integers whose representation takes a bounded amount of space.

Required Associated Constants§

const BITS: usize

Size of this integer in bits.

const BYTES: usize

Size of this integer in bytes.

Implementors§

§

impl Bounded for Limb

§

const BITS: usize = 32usize

§

const BYTES: usize = 4usize

§

impl<const LIMBS: usize> Bounded for Uint<LIMBS>

§

const BITS: usize = Self::BITS

§

const BYTES: usize = Self::BYTES