pub struct Standard;
Expand description
A generic random value distribution, implemented for many primitive types. Usually generates values with a numerically uniform distribution, and with a range appropriate to the type.
Based on rand::distributions::Standard
.
Trait Implementations§
Source§impl Distribution<u128> for Standard
impl Distribution<u128> for Standard
Source§impl Distribution<u16> for Standard
impl Distribution<u16> for Standard
Source§impl Distribution<u32> for Standard
impl Distribution<u32> for Standard
Source§impl Distribution<u64> for Standard
impl Distribution<u64> for Standard
Auto Trait Implementations§
impl Freeze for Standard
impl RefUnwindSafe for Standard
impl Send for Standard
impl Sync for Standard
impl Unpin for Standard
impl UnwindSafe for Standard
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