pub struct StdRandomProvider { /* private fields */ }Expand description
Random provider using a simple xorshift64 PRNG.
This is a fast, decent-quality PRNG suitable for Math.random(). It’s seeded from the current time on creation.
Implementations§
Trait Implementations§
Source§impl Default for StdRandomProvider
impl Default for StdRandomProvider
Source§impl RandomProvider for StdRandomProvider
impl RandomProvider for StdRandomProvider
Auto Trait Implementations§
impl Freeze for StdRandomProvider
impl RefUnwindSafe for StdRandomProvider
impl Send for StdRandomProvider
impl Sync for StdRandomProvider
impl Unpin for StdRandomProvider
impl UnwindSafe for StdRandomProvider
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