#[repr(u32)]pub enum RandomEngineType {
PHILOX_4X32_10 = 100,
THREEFRY_2X32_16 = 200,
MERSENNE_GP11213 = 300,
}
Expand description
Random engine types
Variants§
PHILOX_4X32_10 = 100
Philox variant with N=4, W=32 and Rounds=10
THREEFRY_2X32_16 = 200
Threefry variant with N=2, W=32 and Rounds=16
MERSENNE_GP11213 = 300
Mersenne variant with MEXP = 11213
Trait Implementations§
Source§impl Clone for RandomEngineType
impl Clone for RandomEngineType
Source§fn clone(&self) -> RandomEngineType
fn clone(&self) -> RandomEngineType
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for RandomEngineType
impl Debug for RandomEngineType
Source§impl From<u32> for RandomEngineType
impl From<u32> for RandomEngineType
Source§impl PartialEq for RandomEngineType
impl PartialEq for RandomEngineType
impl Copy for RandomEngineType
impl StructuralPartialEq for RandomEngineType
Auto Trait Implementations§
impl Freeze for RandomEngineType
impl RefUnwindSafe for RandomEngineType
impl Send for RandomEngineType
impl Sync for RandomEngineType
impl Unpin for RandomEngineType
impl UnwindSafe for RandomEngineType
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