pub enum RngEngine {
Philox,
Xorwow,
Mrg32k3a,
}Expand description
Available RNG engine algorithms.
Variants§
Philox
Philox-4x32-10 counter-based PRNG (cuRAND default).
Xorwow
XORWOW with Weyl sequence addition (fast, good quality).
Mrg32k3a
MRG32k3a combined multiple recursive generator (highest quality).
Trait Implementations§
impl Copy for RngEngine
impl Eq for RngEngine
impl StructuralPartialEq for RngEngine
Auto Trait Implementations§
impl Freeze for RngEngine
impl RefUnwindSafe for RngEngine
impl Send for RngEngine
impl Sync for RngEngine
impl Unpin for RngEngine
impl UnsafeUnpin for RngEngine
impl UnwindSafe for RngEngine
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