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
type Item = char
fn chain<U>(self, other: U) -> Chain<Self, U> where U: Iterator, <U as Iterator>::Item == <Self as Iterator>::Item
fn zip<U>(self, other: U) -> Zip<Self, U> where U: Iterator
fn map<B, F>(self, f: F) -> Map<Self, F> where F: FnMut(<Self as Iterator>::Item), <F as FnOnce(<Self as Iterator>::Item)>::Output == B
fn filter<P>(self, predicate: P) -> Filter<Self, P> where P: FnMut(&<Self as Iterator>::Item), <P as FnOnce(&<Self as Iterator>::Item)>::Output == bool
fn skip_while<P>(self, predicate: P) -> SkipWhile<Self, P> where P: FnMut(&<Self as Iterator>::Item), <P as FnOnce(&<Self as Iterator>::Item)>::Output == bool
fn take_while<P>(self, predicate: P) -> TakeWhile<Self, P> where P: FnMut(&<Self as Iterator>::Item), <P as FnOnce(&<Self as Iterator>::Item)>::Output == bool
fn scan<St, B, F>(self, initial_state: St, f: F) -> Scan<Self, St, F> where F: FnMut(&mut St, <Self as Iterator>::Item), <F as FnOnce(&mut St, <Self as Iterator>::Item)>::Output == Option<B>
fn flat_map<U, F>(self, f: F) -> FlatMap<Self, U, F> where U: Iterator, F: FnMut(<Self as Iterator>::Item), <F as FnOnce(<Self as Iterator>::Item)>::Output == U
fn fuse(self) -> Fuse<Self>
fn inspect<F>(self, f: F) -> Inspect<Self, F> where F: FnMut(&<Self as Iterator>::Item), <F as FnOnce(&<Self as Iterator>::Item)>::Output == ()
fn by_ref(&mut self) -> &mut Self
fn fold<B, F>(self, init: B, f: F) -> B where F: FnMut(B, <Self as Iterator>::Item), <F as FnOnce(B, <Self as Iterator>::Item)>::Output == B
fn all<F>(&mut self, f: F) -> bool where F: FnMut(<Self as Iterator>::Item), <F as FnOnce(<Self as Iterator>::Item)>::Output == bool
fn any<F>(&mut self, f: F) -> bool where F: FnMut(<Self as Iterator>::Item), <F as FnOnce(<Self as Iterator>::Item)>::Output == bool
fn find<P>(&mut self, predicate: P) -> Option<<Self as Iterator>::Item> where P: FnMut(&<Self as Iterator>::Item), <P as FnOnce(&<Self as Iterator>::Item)>::Output == bool
fn position<P>(&mut self, predicate: P) -> Option<usize> where P: FnMut(<Self as Iterator>::Item), <P as FnOnce(<Self as Iterator>::Item)>::Output == bool
fn max_by<B, F>(self, f: F) -> Option<<Self as Iterator>::Item> where B: Ord, F: FnMut(&<Self as Iterator>::Item), <F as FnOnce(&<Self as Iterator>::Item)>::Output == B
fn min_by<B, F>(self, f: F) -> Option<<Self as Iterator>::Item> where B: Ord, F: FnMut(&<Self as Iterator>::Item), <F as FnOnce(&<Self as Iterator>::Item)>::Output == B
fn rev(self) -> Rev<Self>
fn cloned<'a, T>(self) -> Cloned<Self> where T: 'a, Self: Iterator, <Self as Iterator>::Item == &'a T, T: Clone
fn cycle(self) -> Cycle<Self> where Self: Clone
Keyboard shortcuts
- ?
- Show this help dialog
- S
- Focus the search field
- ⇤
- Move up in search results
- ⇥
- Move down in search results
- ⏎
- Go to active search result
Search tricks
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).