#[repr(u32)]pub enum RNGtype {
WICHMANN_HILL = 0,
MARSAGLIA_MULTICARRY = 1,
SUPER_DUPER = 2,
MERSENNE_TWISTER = 3,
KNUTH_TAOCP = 4,
USER_UNIF = 5,
KNUTH_TAOCP2 = 6,
LECUYER_CMRG = 7,
}
Variants§
WICHMANN_HILL = 0
MARSAGLIA_MULTICARRY = 1
SUPER_DUPER = 2
MERSENNE_TWISTER = 3
KNUTH_TAOCP = 4
USER_UNIF = 5
KNUTH_TAOCP2 = 6
LECUYER_CMRG = 7
Trait Implementations§
impl Copy for RNGtype
impl Eq for RNGtype
impl StructuralPartialEq for RNGtype
Auto Trait Implementations§
impl Freeze for RNGtype
impl RefUnwindSafe for RNGtype
impl Send for RNGtype
impl Sync for RNGtype
impl Unpin for RNGtype
impl UnwindSafe for RNGtype
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)