pub struct UniformUBig { /* private fields */ }
Expand description
The back-end implementing UniformSampler for UBig.
See the module (rand) level documentation for examples.
Trait Implementations§
Source§impl UniformSampler for UniformUBig
impl UniformSampler for UniformUBig
Source§fn new<B1, B2>(low: B1, high: B2) -> UniformUBig
fn new<B1, B2>(low: B1, high: B2) -> UniformUBig
Construct self, with inclusive lower bound and exclusive upper bound
[low, high)
. Read moreSource§fn new_inclusive<B1, B2>(low: B1, high: B2) -> UniformUBig
fn new_inclusive<B1, B2>(low: B1, high: B2) -> UniformUBig
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 UniformUBig
impl RefUnwindSafe for UniformUBig
impl Send for UniformUBig
impl Sync for UniformUBig
impl Unpin for UniformUBig
impl UnwindSafe for UniformUBig
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