Trait rand_num_gen::Rng [] [src]

pub trait Rng {
    fn next_u32(&mut self) -> u32;

    fn next_u64(&mut self) -> u64 { ... }
fn next_usize(&mut self) -> usize { ... }
fn next_f32(&mut self) -> f32 { ... }
fn next_f64(&mut self) -> f64 { ... }
fn next<T>(&mut self) -> T
    where
        T: Random,
        Self: Sized
, { ... }
fn random_iter<'a, T>(&'a mut self) -> RandomIter<'a, T, Self>
    where
        T: Random,
        Self: Sized
, { ... }
fn random_byte_iter<'a>(&'a mut self) -> RandomByteIter<'a, Self>
    where
        Self: Sized
, { ... }
fn fill_bytes(&mut self, bytes: &mut [u8]) { ... } }

Required Methods

Provided Methods

Implementors