pub struct CharPlus<C: CharBool>(pub C);Tuple Fields§
§0: CTrait Implementations§
Source§impl<'a, CB: CharBool> Parser<'a> for CharPlus<CB>
impl<'a, CB: CharBool> Parser<'a> for CharPlus<CB>
type Out = &'a str
fn parse(&self, i: &PIter<'a>) -> ParseRes<'a, &'a str>
fn parse_s(&self, s: &'a str) -> Result<Self::Out, PErr<'a>>
fn or<B: Parser<'a, Out = Self::Out>>(self, b: B) -> Or<Self, B>
fn asv<V: Clone>(self, v: V) -> Asv<Self, V>
fn map<B, F: Fn(Self::Out) -> B>(self, f: F) -> Map<Self, F>
fn try_map<B, F: Fn(Self::Out) -> Result<B, Expected>>( self, f: F, ) -> TryMap<Self, F>
fn ig(self) -> Ig<Self>
fn brk(self) -> Break<Self>
Auto Trait Implementations§
impl<C> Freeze for CharPlus<C>where
C: Freeze,
impl<C> RefUnwindSafe for CharPlus<C>where
C: RefUnwindSafe,
impl<C> Send for CharPlus<C>where
C: Send,
impl<C> Sync for CharPlus<C>where
C: Sync,
impl<C> Unpin for CharPlus<C>where
C: Unpin,
impl<C> UnwindSafe for CharPlus<C>where
C: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more