Struct pear::Text
[−]
[src]
pub struct Text<'a> { /* fields omitted */ }
Trait Implementations
impl<'a> Debug for Text<'a>[src]
impl<'a> From<&'a str> for Text<'a>[src]
impl<'a> Input for Text<'a>[src]
type Token = char
type InSlice = &'a str
type Slice = &'a str
type Many = Self::Slice
type Context = Position
fn peek(&mut self) -> Option<Self::Token>[src]
fn peek_slice(&mut self, slice: Self::InSlice) -> Option<Self::Slice>[src]
fn skip_many<F>(&mut self, cond: F) -> usize where
F: FnMut(Self::Token) -> bool, [src]
F: FnMut(Self::Token) -> bool,
fn take_many<F>(&mut self, cond: F) -> Self::Many where
F: FnMut(Self::Token) -> bool, [src]
F: FnMut(Self::Token) -> bool,