Struct SeparatedList1

pub struct SeparatedList1<F, G> { /* private fields */ }

Parser implementation for the [separated_list1] combinator

Trait Implementations

impl<I, E: ParseError<I>, F, G> Parser<I> for SeparatedList1<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 SeparatedList1<F, G> where F: Freeze, G: Freeze,

impl<F, G> RefUnwindSafe for SeparatedList1<F, G> where F: RefUnwindSafe, G: RefUnwindSafe,

impl<F, G> Send for SeparatedList1<F, G> where F: Send, G: Send,

impl<F, G> Sync for SeparatedList1<F, G> where F: Sync, G: Sync,

impl<F, G> Unpin for SeparatedList1<F, G> where F: Unpin, G: Unpin,

impl<F, G> UnsafeUnpin for SeparatedList1<F, G> where F: UnsafeUnpin, G: UnsafeUnpin,

impl<F, G> UnwindSafe for SeparatedList1<F, G> where F: UnwindSafe, G: UnwindSafe,

Blanket Implementations

impl<T> Any for SeparatedList1<F, G> where T: 'static + ?Sized,

fn type_id(&self) -> TypeId

impl<T> Borrow<T> for SeparatedList1<F, G> where T: ?Sized,

fn borrow(&self) -> &T

impl<T> BorrowMut<T> for SeparatedList1<F, G> where T: ?Sized,

fn borrow_mut(&mut self) -> &mut T

impl<T> From<T> for SeparatedList1<F, G>

fn from(t: T) -> T

Returns the argument unchanged.

impl<T, U> Into<U> for SeparatedList1<F, G> where U: From<T>,

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom<U> for SeparatedList1<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 SeparatedList1<F, G> where U: TryFrom<T>,

type Error = <U as TryFrom<T>>::Error;
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>