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

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

Iterator which will continuously generate random ascii characters.

This iterator is created via the gen_ascii_chars method on Rng.

Trait Implementations

impl<'a, R: Rng> Iterator for AsciiGenerator<'a, R>

type Item = char

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

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