pub struct Lcg(pub u64);Expand description
A minimal MMIX LCG for reproducible test/bench data (not for cryptography). Callers keep their own seeds so historical sequences stay bit-identical.
Tuple Fields§
§0: u64Implementations§
Auto Trait Implementations§
impl Freeze for Lcg
impl RefUnwindSafe for Lcg
impl Send for Lcg
impl Sync for Lcg
impl Unpin for Lcg
impl UnsafeUnpin for Lcg
impl UnwindSafe for Lcg
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