pub struct UniformBelow<'a> { /* private fields */ }
Expand description
Implementations§
Source§impl<'a> UniformBelow<'a>
impl<'a> UniformBelow<'a>
Sourcepub const fn new(limit: &'a UBig) -> Self
pub const fn new(limit: &'a UBig) -> Self
Create a UniformBelow distribution with a given limit on the integer’s magnitude.
Trait Implementations§
Source§impl<'a> Distribution<IBig> for UniformBelow<'a>
impl<'a> Distribution<IBig> for UniformBelow<'a>
Source§impl<'a> Distribution<UBig> for UniformBelow<'a>
impl<'a> Distribution<UBig> for UniformBelow<'a>
Auto Trait Implementations§
impl<'a> Freeze for UniformBelow<'a>
impl<'a> RefUnwindSafe for UniformBelow<'a>
impl<'a> Send for UniformBelow<'a>
impl<'a> Sync for UniformBelow<'a>
impl<'a> Unpin for UniformBelow<'a>
impl<'a> UnwindSafe for UniformBelow<'a>
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