[−][src]Struct melib::parsec::BoxedParser
Fields
parser: Box<dyn Parser<'a, Output> + 'a>
Implementations
impl<'a, Output> BoxedParser<'a, Output>
[src]
Trait Implementations
impl<'a, Output> Parser<'a, Output> for BoxedParser<'a, Output>
[src]
fn parse(&self, input: &'a str) -> Result<'a, Output>
[src]
fn parse_complete(&self, input: &'a str) -> Result<'a, Output>
[src]
fn map<F, NewOutput>(self, map_fn: F) -> BoxedParser<'a, NewOutput> where
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
F: Fn(Output) -> NewOutput + 'a,
[src]
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
F: Fn(Output) -> NewOutput + 'a,
fn and_then<F, NextParser, NewOutput>(self, f: F) -> BoxedParser<'a, NewOutput> where
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
NextParser: Parser<'a, NewOutput> + 'a,
F: Fn(Output) -> NextParser + 'a,
[src]
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
NextParser: Parser<'a, NewOutput> + 'a,
F: Fn(Output) -> NextParser + 'a,
Auto Trait Implementations
impl<'a, Output> !RefUnwindSafe for BoxedParser<'a, Output>
impl<'a, Output> !Send for BoxedParser<'a, Output>
impl<'a, Output> !Sync for BoxedParser<'a, Output>
impl<'a, Output> Unpin for BoxedParser<'a, Output>
impl<'a, Output> !UnwindSafe for BoxedParser<'a, Output>
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<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<'a, F, Output> Parser<'a, Output> for F where
F: Fn(&'a str) -> Result<(&'a str, Output), &'a str>,
[src]
F: Fn(&'a str) -> Result<(&'a str, Output), &'a str>,
fn parse(&Self, &'a str) -> Result<(&'a str, Output), &'a str>
[src]
fn parse_complete(&self, input: &'a str) -> Result<'a, Output>
[src]
fn map<F, NewOutput>(self, map_fn: F) -> BoxedParser<'a, NewOutput> where
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
F: Fn(Output) -> NewOutput + 'a,
[src]
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
F: Fn(Output) -> NewOutput + 'a,
fn and_then<F, NextParser, NewOutput>(self, f: F) -> BoxedParser<'a, NewOutput> where
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
NextParser: Parser<'a, NewOutput> + 'a,
F: Fn(Output) -> NextParser + 'a,
[src]
Self: Sized + 'a,
Output: 'a,
NewOutput: 'a,
NextParser: Parser<'a, NewOutput> + 'a,
F: Fn(Output) -> NextParser + 'a,
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,
fn vzip(self) -> V
impl<T> WithSubscriber for T
[src]
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
[src]
S: Into<Dispatch>,