Struct SeparatedList0
pub struct SeparatedList0<F, G> { /* private fields */ }
Parser implementation for the [separated_list0] combinator
Trait Implementations
impl<I, E: ParseError<I>, F, G> Parser<I> for SeparatedList0<F, G>
where
I: Clone + Input,
F: Parser<I, Error = E>,
G: Parser<I, Error = E>,
type Output = Vec<<F as Parser<I>>::Output>;type Error = <F as Parser<I>>::Error;fn process<OM: OutputMode>(&mut self, i: I) -> PResult<OM, I, Self::Output, Self::Error>
Auto Trait Implementations
impl<F, G> Freeze for SeparatedList0<F, G>
where
F: Freeze,
G: Freeze,
impl<F, G> RefUnwindSafe for SeparatedList0<F, G>
where
F: RefUnwindSafe,
G: RefUnwindSafe,
impl<F, G> Send for SeparatedList0<F, G>
where
F: Send,
G: Send,
impl<F, G> Sync for SeparatedList0<F, G>
where
F: Sync,
G: Sync,
impl<F, G> Unpin for SeparatedList0<F, G>
where
F: Unpin,
G: Unpin,
impl<F, G> UnsafeUnpin for SeparatedList0<F, G>
where
F: UnsafeUnpin,
G: UnsafeUnpin,
impl<F, G> UnwindSafe for SeparatedList0<F, G>
where
F: UnwindSafe,
G: UnwindSafe,
Blanket Implementations
impl<T> Any for SeparatedList0<F, G>
where
T: 'static + ?Sized,
fn type_id(&self) -> TypeId
impl<T> Borrow<T> for SeparatedList0<F, G>
where
T: ?Sized,
fn borrow(&self) -> &T
impl<T> BorrowMut<T> for SeparatedList0<F, G>
where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
impl<T> From<T> for SeparatedList0<F, G>
fn from(t: T) -> TReturns the argument unchanged.
impl<T, U> Into<U> for SeparatedList0<F, G>
where
U: From<T>,
fn into(self) -> UCalls
U::from(self).That is, this conversion is whatever the implementation of
[From]<T> for Uchooses to do.
impl<T, U> TryFrom<U> for SeparatedList0<F, G>
where
U: Into<T>,
type Error = Infallible;fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
impl<T, U> TryInto<U> for SeparatedList0<F, G>
where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error;fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>