pub struct DiscardLeft<'input, Left: Parse<'input, Input = Right::Input>, Right: Parse<'input>>(/* private fields */);Expand description
Perform two actions in order and discard the result of the first, returning the result of the second.
Implementations§
Trait Implementations§
Source§impl<'input, Left: Debug + Parse<'input, Input = Right::Input>, Right: Debug + Parse<'input>> Debug for DiscardLeft<'input, Left, Right>
impl<'input, Left: Debug + Parse<'input, Input = Right::Input>, Right: Debug + Parse<'input>> Debug for DiscardLeft<'input, Left, Right>
Source§impl<'input, Left: Parse<'input, Input = Right::Input>, Right: Parse<'input>> Parse<'input> for DiscardLeft<'input, Left, Right>
impl<'input, Left: Parse<'input, Input = Right::Input>, Right: Parse<'input>> Parse<'input> for DiscardLeft<'input, Left, Right>
Auto Trait Implementations§
impl<'input, Left, Right> Freeze for DiscardLeft<'input, Left, Right>
impl<'input, Left, Right> RefUnwindSafe for DiscardLeft<'input, Left, Right>where
Left: RefUnwindSafe,
Right: RefUnwindSafe,
impl<'input, Left, Right> Send for DiscardLeft<'input, Left, Right>
impl<'input, Left, Right> Sync for DiscardLeft<'input, Left, Right>
impl<'input, Left, Right> Unpin for DiscardLeft<'input, Left, Right>
impl<'input, Left, Right> UnwindSafe for DiscardLeft<'input, Left, Right>where
Left: UnwindSafe,
Right: 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