Struct mt19937::MT19937[][src]

pub struct MT19937 { /* fields omitted */ }

rand::Rng instance implementing the mt19937 mersenne twister algorithm

Implementations

impl MT19937[src]

pub fn new_with_slice_seed(init_key: &[u32]) -> Self[src]

pub fn seed_slice(&mut self, init_key: &[u32])[src]

initialize by an array with array-length

Trait Implementations

impl Debug for MT19937[src]

impl Default for MT19937[src]

impl RngCore for MT19937[src]

impl SeedableRng for MT19937[src]

type Seed = Seed

Seed type, which is restricted to types mutably-dereferencable as u8 arrays (we recommend [u8; N] for some N). Read more

Auto Trait Implementations

impl RefUnwindSafe for MT19937

impl Send for MT19937

impl Sync for MT19937

impl Unpin for MT19937

impl UnwindSafe for MT19937

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.