pub struct Last<A, B> { /* private fields */ }Trait Implementations§
Source§impl<'a, A: Parser<'a>, B: Parser<'a>> Parser<'a> for Last<A, B>
impl<'a, A: Parser<'a>, B: Parser<'a>> Parser<'a> for Last<A, B>
type Out = <B as Parser<'a>>::Out
fn parse(&self, i: &PIter<'a>) -> ParseRes<'a, Self::Out>
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<A, B> Freeze for Last<A, B>
impl<A, B> RefUnwindSafe for Last<A, B>where
A: RefUnwindSafe,
B: RefUnwindSafe,
impl<A, B> Send for Last<A, B>
impl<A, B> Sync for Last<A, B>
impl<A, B> Unpin for Last<A, B>
impl<A, B> UnwindSafe for Last<A, B>where
A: UnwindSafe,
B: 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