Struct dashu_int::rand::UniformUBig
source · [−]pub struct UniformUBig { /* private fields */ }
Expand description
Trait Implementations
sourceimpl UniformSampler for UniformUBig
impl UniformSampler for UniformUBig
sourcefn new<B1, B2>(low: B1, high: B2) -> UniformUBigwhere
B1: SampleBorrow<UBig>,
B2: SampleBorrow<UBig>,
fn new<B1, B2>(low: B1, high: B2) -> UniformUBigwhere
B1: SampleBorrow<UBig>,
B2: SampleBorrow<UBig>,
Construct self, with inclusive lower bound and exclusive upper bound
[low, high)
. Read more
sourcefn new_inclusive<B1, B2>(low: B1, high: B2) -> UniformUBigwhere
B1: SampleBorrow<UBig>,
B2: SampleBorrow<UBig>,
fn new_inclusive<B1, B2>(low: B1, high: B2) -> UniformUBigwhere
B1: SampleBorrow<UBig>,
B2: SampleBorrow<UBig>,
Construct self, with inclusive bounds [low, high]
. Read more
sourcefn sample_single<R, B1, B2>(low: B1, high: B2, rng: &mut R) -> Self::Xwhere
R: Rng + ?Sized,
B1: SampleBorrow<Self::X>,
B2: SampleBorrow<Self::X>,
fn sample_single<R, B1, B2>(low: B1, high: B2, rng: &mut R) -> Self::Xwhere
R: Rng + ?Sized,
B1: SampleBorrow<Self::X>,
B2: SampleBorrow<Self::X>,
Sample a single value uniformly from a range with inclusive lower bound
and exclusive upper bound [low, high)
. Read more
sourcefn sample_single_inclusive<R, B1, B2>(low: B1, high: B2, rng: &mut R) -> Self::Xwhere
R: Rng + ?Sized,
B1: SampleBorrow<Self::X>,
B2: SampleBorrow<Self::X>,
fn sample_single_inclusive<R, B1, B2>(low: B1, high: B2, rng: &mut R) -> Self::Xwhere
R: Rng + ?Sized,
B1: SampleBorrow<Self::X>,
B2: SampleBorrow<Self::X>,
Sample a single value uniformly from a range with inclusive lower bound
and inclusive upper bound [low, high]
. Read more
Auto Trait Implementations
impl RefUnwindSafe for UniformUBig
impl Send for UniformUBig
impl Sync for UniformUBig
impl Unpin for UniformUBig
impl UnwindSafe for UniformUBig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more