pub struct Randint { /* private fields */ }
Expand description
Uniform distribution of integers on [low,high)
Sample from the discrete uniform distribution on [low,high)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Randint
impl RefUnwindSafe for Randint
impl Send for Randint
impl Sync for Randint
impl Unpin for Randint
impl UnwindSafe for Randint
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