pub struct CustomNumberGenerator { /* private fields */ }
Expand description
A deterministic pseudo-random number generator.
This generator is useful for testing, as it will always produce the same sequence of numbers for a given seed.
Implementations§
Trait Implementations§
Source§impl Default for CustomNumberGenerator
impl Default for CustomNumberGenerator
Auto Trait Implementations§
impl Freeze for CustomNumberGenerator
impl RefUnwindSafe for CustomNumberGenerator
impl Send for CustomNumberGenerator
impl Sync for CustomNumberGenerator
impl Unpin for CustomNumberGenerator
impl UnwindSafe for CustomNumberGenerator
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