pub struct ParsingInput<T, O, F> { /* private fields */ }Expand description
Parsing state holds an Input.
Implementations§
Source§impl<T, O, F> ParsingInput<T, O, F>
impl<T, O, F> ParsingInput<T, O, F>
Sourcepub fn cursor_mut(&mut self) -> impl DerefMut<Target = Cursor<T>> + '_
pub fn cursor_mut(&mut self) -> impl DerefMut<Target = Cursor<T>> + '_
Get the mutable reference of Cursor.
Sourcepub fn result_mut(&mut self) -> Option<&mut O>
pub fn result_mut(&mut self) -> Option<&mut O>
Get the result of the parser.
Sourcepub fn into_input(self) -> Box<Input<T>>
pub fn into_input(self) -> Box<Input<T>>
Break the ParsingInput into Input.
Trait Implementations§
Auto Trait Implementations§
impl<T, O, F> Freeze for ParsingInput<T, O, F>
impl<T, O, F> !RefUnwindSafe for ParsingInput<T, O, F>
impl<T, O, F> Send for ParsingInput<T, O, F>
impl<T, O, F> !Sync for ParsingInput<T, O, F>
impl<T, O, F> Unpin for ParsingInput<T, O, F>
impl<T, O, F> UnwindSafe for ParsingInput<T, O, F>
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