Struct pear::Text [−][src]
pub struct Text<'a> { /* fields omitted */ }
Trait Implementations
impl<'a> Debug for Text<'a>
[src]
impl<'a> Debug for Text<'a>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'a> From<&'a str> for Text<'a>
[src]
impl<'a> From<&'a str> for Text<'a>
impl<'a> Input for Text<'a>
[src]
impl<'a> Input for Text<'a>
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(&mut self) -> Option<Self::Token>
fn peek_slice(&mut self, slice: Self::InSlice) -> Option<Self::Slice>
[src]
fn peek_slice(&mut self, slice: Self::InSlice) -> Option<Self::Slice>
fn skip_many<F>(&mut self, cond: F) -> usize where
F: FnMut(Self::Token) -> bool,
[src]
fn skip_many<F>(&mut self, cond: F) -> usize where
F: FnMut(Self::Token) -> bool,
fn take_many<F>(&mut self, cond: F) -> Self::Many where
F: FnMut(Self::Token) -> bool,
[src]
fn take_many<F>(&mut self, cond: F) -> Self::Many where
F: FnMut(Self::Token) -> bool,
fn advance(&mut self, count: usize)
[src]
fn advance(&mut self, count: usize)
fn is_empty(&mut self) -> bool
[src]
fn is_empty(&mut self) -> bool
fn context(&mut self) -> Option<Position>
[src]
fn context(&mut self) -> Option<Position>