Struct num_bigint::RandomBits
source · pub struct RandomBits { /* private fields */ }
Expand description
A random distribution for BigUint
and BigInt
values of a particular bit size.
Implementations§
source§impl RandomBits
impl RandomBits
pub fn new(bits: usize) -> RandomBits
Trait Implementations§
source§impl Clone for RandomBits
impl Clone for RandomBits
source§fn clone(&self) -> RandomBits
fn clone(&self) -> RandomBits
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more