pub struct Rng { /* private fields */ }
Expand description
Random number generator based on SplitMix64. Requires two internal state variables. You may prefer SplitMix64 or Rng.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Rng
impl Send for Rng
impl Sync for Rng
impl Unpin for Rng
impl UnwindSafe for Rng
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more