pub struct SeededRandomSource { /* private fields */ }Expand description
A repeatable sequence for tests: the same seed always gives the same numbers.
Implementations§
Trait Implementations§
Source§impl Debug for SeededRandomSource
impl Debug for SeededRandomSource
Source§impl RandomSource for SeededRandomSource
impl RandomSource for SeededRandomSource
Auto Trait Implementations§
impl !Freeze for SeededRandomSource
impl Forget for SeededRandomSource
impl Move for SeededRandomSource
impl RefUnwindSafe for SeededRandomSource
impl Send for SeededRandomSource
impl Sync for SeededRandomSource
impl Unpin for SeededRandomSource
impl UnsafeUnpin for SeededRandomSource
impl UnwindSafe for SeededRandomSource
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