pub struct InptStep<'s, T> {
pub data: InptResult<'s, T>,
pub rest: &'s str,
}Expand description
The output of a single parsing step.
Fields§
§data: InptResult<'s, T>The parsed type if successful, or the cause of the error if not.
rest: &'s strThe remaining input to parse.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<'s, T> Freeze for InptStep<'s, T>where
T: Freeze,
impl<'s, T> !RefUnwindSafe for InptStep<'s, T>
impl<'s, T> !Send for InptStep<'s, T>
impl<'s, T> !Sync for InptStep<'s, T>
impl<'s, T> Unpin for InptStep<'s, T>where
T: Unpin,
impl<'s, T> !UnwindSafe for InptStep<'s, T>
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