[−][src]Struct kombi::combinators::Many
Trait Implementations
impl<Iter, A> Parser<Iter> for Many<Iter, A> where
Iter: Iterator + Clone,
A: Parser<Iter>,
[src]
Iter: Iterator + Clone,
A: Parser<Iter>,
type Output = Vec<A::Output>
fn parse(&self, i: Iter) -> Option<(Iter, Self::Output)>
[src]
fn many(self) -> Many<Iter, Self>
[src]
fn maybe(self) -> Maybe<Iter, Self>
[src]
fn or<Other: Parser<Iter>>(self, other: Other) -> Or<Iter, Self, Other>
[src]
fn then<Other: Parser<Iter>>(self, other: Other) -> Then<Iter, Self, Other>
[src]
fn transform<F: Fn(Self::Output) -> Option<T>, T>(
self,
f: F
) -> Transform<Iter, Self, F, T>
[src]
self,
f: F
) -> Transform<Iter, Self, F, T>
Auto Trait Implementations
impl<Iter, A> RefUnwindSafe for Many<Iter, A> where
A: RefUnwindSafe,
Iter: RefUnwindSafe,
A: RefUnwindSafe,
Iter: RefUnwindSafe,
impl<Iter, A> Send for Many<Iter, A> where
A: Send,
Iter: Send,
A: Send,
Iter: Send,
impl<Iter, A> Sync for Many<Iter, A> where
A: Sync,
Iter: Sync,
A: Sync,
Iter: Sync,
impl<Iter, A> Unpin for Many<Iter, A> where
A: Unpin,
Iter: Unpin,
A: Unpin,
Iter: Unpin,
impl<Iter, A> UnwindSafe for Many<Iter, A> where
A: UnwindSafe,
Iter: UnwindSafe,
A: UnwindSafe,
Iter: UnwindSafe,
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, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Iter, F, T> Parser<Iter> for F where
F: Fn(Iter) -> Option<(Iter, T)>,
Iter: Iterator + Clone,
[src]
F: Fn(Iter) -> Option<(Iter, T)>,
Iter: Iterator + Clone,
type Output = T
fn parse(&Self, Iter) -> Option<(Iter, <F as Parser<Iter>>::Output)>
[src]
fn many(self) -> Many<Iter, Self>
[src]
fn maybe(self) -> Maybe<Iter, Self>
[src]
fn or<Other: Parser<Iter>>(self, other: Other) -> Or<Iter, Self, Other>
[src]
fn then<Other: Parser<Iter>>(self, other: Other) -> Then<Iter, Self, Other>
[src]
fn transform<F: Fn(Self::Output) -> Option<T>, T>(
self,
f: F
) -> Transform<Iter, Self, F, T>
[src]
self,
f: F
) -> Transform<Iter, Self, F, 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>,