pub struct UniformIBig { /* private fields */ }
Expand description
The back-end implementing UniformSampler for IBig.
See the module (rand) level documentation for examples.
Trait Implementations§
Source§impl UniformSampler for UniformIBig
impl UniformSampler for UniformIBig
Source§fn new<B1, B2>(low: B1, high: B2) -> UniformIBig
fn new<B1, B2>(low: B1, high: B2) -> UniformIBig
Construct self, with inclusive lower bound and exclusive upper bound
[low, high)
. Read moreSource§fn new_inclusive<B1, B2>(low: B1, high: B2) -> UniformIBig
fn new_inclusive<B1, B2>(low: B1, high: B2) -> UniformIBig
Construct self, with inclusive bounds
[low, high]
. Read moreSource§fn sample_single<R, B1, B2>(low: B1, high: B2, rng: &mut R) -> Self::X
fn sample_single<R, B1, B2>(low: B1, high: B2, rng: &mut R) -> Self::X
Sample a single value uniformly from a range with inclusive lower bound
and exclusive upper bound
[low, high)
. Read moreAuto Trait Implementations§
impl Freeze for UniformIBig
impl RefUnwindSafe for UniformIBig
impl Send for UniformIBig
impl Sync for UniformIBig
impl Unpin for UniformIBig
impl UnwindSafe for UniformIBig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more