Struct rand::GeneratorExperimental [-]  [+] [src]

pub struct Generator<'a, T, R: 'a> {
    // some fields omitted
}

Iterator which will generate a stream of random items.

This iterator is created via the gen_iter method on Rng.

Trait Implementations

impl<'a, T: Rand, R: Rng> Iterator<T> for Generator<'a, T, R>

fn next(&mut self) -> Option<T>

fn size_hint(&self) -> (uint, Option<uint>)