[−][src]Struct pear::input::Pear
Fields
input: I
Implementations
impl<I: Input> Pear<I>
[src]
Trait Implementations
impl<I: Debug + Input> Debug for Pear<I>
[src]
impl<I: Input> Deref for Pear<I>
[src]
impl<I: Input> DerefMut for Pear<I>
[src]
impl<I: Input> From<I> for Pear<I>
[src]
impl<I: Input> Input for Pear<I>
[src]
type Token = I::Token
type Slice = I::Slice
type Many = I::Many
type Marker = I::Marker
type Context = I::Context
fn token(&mut self) -> Option<Self::Token>
[src]
fn slice(&mut self, n: usize) -> Option<Self::Slice>
[src]
fn has(&mut self, n: usize) -> bool
[src]
fn peek<F>(&mut self, cond: F) -> bool where
F: FnMut(&Self::Token) -> bool,
[src]
F: FnMut(&Self::Token) -> bool,
fn peek_slice<F>(&mut self, n: usize, cond: F) -> bool where
F: FnMut(&Self::Slice) -> bool,
[src]
F: FnMut(&Self::Slice) -> bool,
fn eat<F>(&mut self, cond: F) -> Option<Self::Token> where
F: FnMut(&Self::Token) -> bool,
[src]
F: FnMut(&Self::Token) -> bool,
fn eat_slice<F>(&mut self, n: usize, cond: F) -> Option<Self::Slice> where
F: FnMut(&Self::Slice) -> bool,
[src]
F: FnMut(&Self::Slice) -> bool,
fn take<F>(&mut self, cond: F) -> Self::Many where
F: FnMut(&Self::Token) -> bool,
[src]
F: FnMut(&Self::Token) -> bool,
fn skip<F>(&mut self, cond: F) -> usize where
F: FnMut(&Self::Token) -> bool,
[src]
F: FnMut(&Self::Token) -> bool,
fn mark(&mut self, info: &ParserInfo) -> Self::Marker
[src]
fn context(&mut self, mark: Self::Marker) -> Self::Context
[src]
impl<I: Input + Rewind> Rewind for Pear<I>
[src]
Auto Trait Implementations
impl<I> !RefUnwindSafe for Pear<I>
impl<I> !Send for Pear<I>
impl<I> !Sync for Pear<I>
impl<I> Unpin for Pear<I> where
I: Unpin,
I: Unpin,
impl<I> !UnwindSafe for Pear<I>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<!> for T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,