MapCharsIter

Trait MapCharsIter 

Source
pub trait MapCharsIter<'a, M, I: Iterator<Item = char>>
where M: ActionMap,
{ // Required method fn map_chars(self, mapper: &'a CharMapper<'a, M>) -> MappedChars<'a, M, I> ; }
Expand description

A trait providing a convenience method for Iterators of char to charmap their output.

Required Methods§

Source

fn map_chars(self, mapper: &'a CharMapper<'a, M>) -> MappedChars<'a, M, I>

Implementations on Foreign Types§

Source§

impl<'a, M> MapCharsIter<'a, M, IntoIter<char>> for char
where M: ActionMap,

Source§

fn map_chars( self, mapper: &'a CharMapper<'a, M>, ) -> MappedChars<'a, M, IntoIter<char>>
where Self: Sized,

Source§

impl<'a, M> MapCharsIter<'a, M, Chars<'a>> for &'a str
where M: ActionMap,

Source§

fn map_chars( self, mapper: &'a CharMapper<'a, M>, ) -> MappedChars<'a, M, Chars<'a>>
where Self: Sized,

Implementors§

Source§

impl<'a, M, I: Iterator<Item = char>> MapCharsIter<'a, M, I> for I
where M: ActionMap,