pub struct Pcg {
state: u64,
inc: u64,
}
Expand description
PCG random numbers generator.
Fields§
§state: u64
§inc: u64
Implementations§
Trait Implementations§
impl Copy for Pcg
Auto Trait Implementations§
impl RefUnwindSafe for Pcg
impl Send for Pcg
impl Sync for Pcg
impl Unpin for Pcg
impl UnwindSafe for Pcg
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