[−][src]Struct munch::Join
Trait Implementations
impl<A, B, R, Input> Parser<Input> for Join<A, B, R> where
A: Parser<Input>,
B: Parser<Input, Error = A::Error>,
R: Range,
Input: Copy,
[src]
A: Parser<Input>,
B: Parser<Input, Error = A::Error>,
R: Range,
Input: Copy,
type Output = Vec<A::Output>
type Error = A::Error
fn parse(
&mut self,
input: Input,
from: usize
) -> Result<Self::Output, Self::Error>
[src]
&mut self,
input: Input,
from: usize
) -> Result<Self::Output, Self::Error>
fn p(self) -> P<Self> where
Self: Sized,
[src]
Self: Sized,
fn by_ref(&mut self) -> P<ByRef<Self>> where
Self: Sized,
[src]
Self: Sized,
fn and<B>(self, b: B) -> P<And<Self, B>> where
Self: Sized,
B: Parser<Input, Error = Self::Error>,
[src]
Self: Sized,
B: Parser<Input, Error = Self::Error>,
fn and_skip<B>(self, b: B) -> P<AndSkip<Self, B>> where
Self: Sized,
B: Parser<Input, Error = Self::Error>,
[src]
Self: Sized,
B: Parser<Input, Error = Self::Error>,
fn skip_and<B>(self, b: B) -> P<SkipAnd<Self, B>> where
Self: Sized,
B: Parser<Input, Error = Self::Error>,
[src]
Self: Sized,
B: Parser<Input, Error = Self::Error>,
fn or<B>(self, b: B) -> P<Or<Self, B>> where
Self: Sized,
B: Parser<Input, Output = Self::Output, Error = Self::Error>,
[src]
Self: Sized,
B: Parser<Input, Output = Self::Output, Error = Self::Error>,
fn map<F, Output>(self, f: F) -> P<Map<Self, F>> where
Self: Sized,
F: FnMut(Self::Output) -> Output,
[src]
Self: Sized,
F: FnMut(Self::Output) -> Output,
fn map_err<F, Error>(self, f: F) -> P<MapErr<Self, F>> where
Self: Sized,
F: FnMut(Self::Error) -> Error,
[src]
Self: Sized,
F: FnMut(Self::Error) -> Error,
fn and_then<F, Output>(self, f: F) -> P<AndThen<Self, F>> where
Self: Sized,
F: FnMut(Self::Output) -> Result<Output, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Output) -> Result<Output, Self::Error>,
fn optional(self) -> P<Optional<Self>> where
Self: Sized,
[src]
Self: Sized,
fn bind<B, F>(self, f: F) -> P<Bind<Self, F>> where
Self: Sized,
B: Parser<Input, Error = Self::Error>,
F: FnMut(Self::Output) -> B,
[src]
Self: Sized,
B: Parser<Input, Error = Self::Error>,
F: FnMut(Self::Output) -> B,
fn repeat<R>(self, range: R) -> P<Repeat<Self, R>> where
Self: Sized,
R: Range,
[src]
Self: Sized,
R: Range,
impl<A: Clone, B: Clone, R: Clone + Range> Clone for Join<A, B, R>
[src]
impl<A: Copy, B: Copy, R: Copy + Range> Copy for Join<A, B, R>
[src]
impl<A: PartialEq, B: PartialEq, R: PartialEq + Range> PartialEq<Join<A, B, R>> for Join<A, B, R>
[src]
impl<A: Debug, B: Debug, R: Debug + Range> Debug for Join<A, B, R>
[src]
impl<A, B, R: Range> StructuralPartialEq for Join<A, B, R>
[src]
Auto Trait Implementations
impl<A, B, R> Send for Join<A, B, R> where
A: Send,
B: Send,
R: Send,
A: Send,
B: Send,
R: Send,
impl<A, B, R> Sync for Join<A, B, R> where
A: Sync,
B: Sync,
R: Sync,
A: Sync,
B: Sync,
R: Sync,
impl<A, B, R> Unpin for Join<A, B, R> where
A: Unpin,
B: Unpin,
R: Unpin,
A: Unpin,
B: Unpin,
R: Unpin,
impl<A, B, R> UnwindSafe for Join<A, B, R> where
A: UnwindSafe,
B: UnwindSafe,
R: UnwindSafe,
A: UnwindSafe,
B: UnwindSafe,
R: UnwindSafe,
impl<A, B, R> RefUnwindSafe for Join<A, B, R> where
A: RefUnwindSafe,
B: RefUnwindSafe,
R: RefUnwindSafe,
A: RefUnwindSafe,
B: RefUnwindSafe,
R: RefUnwindSafe,
Blanket Implementations
impl<F, Input, Output, Error> Parser<Input> for F where
F: FnMut(Input, usize) -> Result<(usize, Output), (usize, Error)>,
[src]
F: FnMut(Input, usize) -> Result<(usize, Output), (usize, Error)>,
type Output = Output
type Error = Error
fn parse(
&mut Self,
Input,
usize
) -> Result<(usize, <F as Parser<Input>>::Output), (usize, <F as Parser<Input>>::Error)>
[src]
&mut Self,
Input,
usize
) -> Result<(usize, <F as Parser<Input>>::Output), (usize, <F as Parser<Input>>::Error)>
fn p(self) -> P<Self> where
Self: Sized,
[src]
Self: Sized,
fn by_ref(&mut self) -> P<ByRef<Self>> where
Self: Sized,
[src]
Self: Sized,
fn and<B>(self, b: B) -> P<And<Self, B>> where
Self: Sized,
B: Parser<Input, Error = Self::Error>,
[src]
Self: Sized,
B: Parser<Input, Error = Self::Error>,
fn and_skip<B>(self, b: B) -> P<AndSkip<Self, B>> where
Self: Sized,
B: Parser<Input, Error = Self::Error>,
[src]
Self: Sized,
B: Parser<Input, Error = Self::Error>,
fn skip_and<B>(self, b: B) -> P<SkipAnd<Self, B>> where
Self: Sized,
B: Parser<Input, Error = Self::Error>,
[src]
Self: Sized,
B: Parser<Input, Error = Self::Error>,
fn or<B>(self, b: B) -> P<Or<Self, B>> where
Self: Sized,
B: Parser<Input, Output = Self::Output, Error = Self::Error>,
[src]
Self: Sized,
B: Parser<Input, Output = Self::Output, Error = Self::Error>,
fn map<F, Output>(self, f: F) -> P<Map<Self, F>> where
Self: Sized,
F: FnMut(Self::Output) -> Output,
[src]
Self: Sized,
F: FnMut(Self::Output) -> Output,
fn map_err<F, Error>(self, f: F) -> P<MapErr<Self, F>> where
Self: Sized,
F: FnMut(Self::Error) -> Error,
[src]
Self: Sized,
F: FnMut(Self::Error) -> Error,
fn and_then<F, Output>(self, f: F) -> P<AndThen<Self, F>> where
Self: Sized,
F: FnMut(Self::Output) -> Result<Output, Self::Error>,
[src]
Self: Sized,
F: FnMut(Self::Output) -> Result<Output, Self::Error>,
fn optional(self) -> P<Optional<Self>> where
Self: Sized,
[src]
Self: Sized,
fn bind<B, F>(self, f: F) -> P<Bind<Self, F>> where
Self: Sized,
B: Parser<Input, Error = Self::Error>,
F: FnMut(Self::Output) -> B,
[src]
Self: Sized,
B: Parser<Input, Error = Self::Error>,
F: FnMut(Self::Output) -> B,
fn repeat<R>(self, range: R) -> P<Repeat<Self, R>> where
Self: Sized,
R: Range,
[src]
Self: Sized,
R: Range,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
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<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> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,