Struct derive_more::parsing::ParseState
source · struct ParseState<'input> {
max_err_pos: usize,
suppress_fail: usize,
expected: HashSet<&'static str>,
_phantom: PhantomData<&'input ()>,
}
Fields§
§max_err_pos: usize
§suppress_fail: usize
§expected: HashSet<&'static str>
§_phantom: PhantomData<&'input ()>
Implementations§
source§impl<'input> ParseState<'input>
impl<'input> ParseState<'input>
fn mark_failure(&mut self, pos: usize, expected: &'static str) -> RuleResult<()>
source§impl<'input> ParseState<'input>
impl<'input> ParseState<'input>
fn new() -> ParseState<'input>
Auto Trait Implementations§
impl<'input> RefUnwindSafe for ParseState<'input>
impl<'input> Send for ParseState<'input>
impl<'input> Sync for ParseState<'input>
impl<'input> Unpin for ParseState<'input>
impl<'input> UnwindSafe for ParseState<'input>
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