Struct Many1Count

pub struct Many1Count<F> { /* private fields */ }

Parser implementation for the [many1_count] combinator

Trait Implementations

impl<I, F> Parser<I> for Many1Count<F> where I: Clone + Input, F: Parser<I>,

type Output = usize;
type Error = <F as Parser<I>>::Error;
fn process<OM: OutputMode>(&mut self, input: I) -> PResult<OM, I, Self::Output, Self::Error>

Auto Trait Implementations

impl<F> Freeze for Many1Count<F> where F: Freeze,

impl<F> RefUnwindSafe for Many1Count<F> where F: RefUnwindSafe,

impl<F> Send for Many1Count<F> where F: Send,

impl<F> Sync for Many1Count<F> where F: Sync,

impl<F> Unpin for Many1Count<F> where F: Unpin,

impl<F> UnsafeUnpin for Many1Count<F> where F: UnsafeUnpin,

impl<F> UnwindSafe for Many1Count<F> where F: UnwindSafe,

Blanket Implementations

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

fn type_id(&self) -> TypeId

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

fn borrow(&self) -> &T

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

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

impl<T> From<T> for Many1Count<F>

fn from(t: T) -> T

Returns the argument unchanged.

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

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