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

Integers whose representation takes a bounded amount of space.

Required Associated Constants§

source

const BITS: usize

Size of this integer in bits.

source

const BYTES: usize

Size of this integer in bytes.

Object Safety§

This trait is not object safe.

Implementors§

source§

impl Bounded for Limb

source§

const BITS: usize = 32usize

source§

const BYTES: usize = 4usize

source§

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

source§

const BITS: usize = Self::BITS

source§

const BYTES: usize = Self::BYTES