pub struct MINSTD(/* private fields */);
Expand description
MINSTD
Updated version of “minimum standard” with multiplier 48271 and sugested version to use because it have way stronger spectral test than earlier 1988 version.
Implementations§
Source§impl MINSTD
impl MINSTD
Sourcepub fn seed(seed: i32) -> Self
pub fn seed(seed: i32) -> Self
Create seeded random generator
Seed must be valid otherwise function will panic. See See also: validate_seed and clamp_seed.
Auto Trait Implementations§
impl Freeze for MINSTD
impl RefUnwindSafe for MINSTD
impl Send for MINSTD
impl Sync for MINSTD
impl Unpin for MINSTD
impl UnwindSafe for MINSTD
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