pub struct RtRng { /* private fields */ }Expand description
Deterministic zero-allocation PCG32 pseudo-random number generator seeded with Wang hashing.
Implementations§
Source§impl RtRng
Deterministic PCG32 seeding and uniform float generation for RtRng.
impl RtRng
Deterministic PCG32 seeding and uniform float generation for RtRng.
Trait Implementations§
impl Copy for RtRng
impl StructuralPartialEq for RtRng
Auto Trait Implementations§
impl Forget for RtRng
impl Freeze for RtRng
impl Move for RtRng
impl RefUnwindSafe for RtRng
impl Send for RtRng
impl Sync for RtRng
impl Unpin for RtRng
impl UnsafeUnpin for RtRng
impl UnwindSafe for RtRng
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