pub struct SimpleRng { /* private fields */ }Expand description
Simple deterministic random number generator for reproducible tests. Uses a linear congruential generator.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for SimpleRng
impl RefUnwindSafe for SimpleRng
impl Send for SimpleRng
impl Sync for SimpleRng
impl Unpin for SimpleRng
impl UnwindSafe for SimpleRng
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