Struct num_bigint::RandomBits [−][src]
pub struct RandomBits { /* fields omitted */ }
Expand description
A random distribution for BigUint
and BigInt
values of a particular bit size.
The rand
feature must be enabled to use this. See crate-level documentation for details.
Implementations
Trait Implementations
Generate a random value of T
, using rng
as the source of randomness.
Create an iterator that generates random values of T
, using rng
as
the source of randomness. Read more
Generate a random value of T
, using rng
as the source of randomness.
Create an iterator that generates random values of T
, using rng
as
the source of randomness. Read more
Auto Trait Implementations
impl RefUnwindSafe for RandomBits
impl Send for RandomBits
impl Sync for RandomBits
impl Unpin for RandomBits
impl UnwindSafe for RandomBits
Blanket Implementations
Mutably borrows from an owned value. Read more