pub enum StructureParserState {
Literal(LiteralParserOffset),
NumInt(IntegerParserState),
Num(FloatParserState),
Either(ChoiceParserState<Box<StructureParserState>, Box<StructureParserState>>),
Then(SequenceParserState<Box<StructureParserState>, Box<StructureParserState>, ()>),
}Expand description
The state of a structure parser.
Variants§
Literal(LiteralParserOffset)
NumInt(IntegerParserState)
Num(FloatParserState)
Either(ChoiceParserState<Box<StructureParserState>, Box<StructureParserState>>)
Then(SequenceParserState<Box<StructureParserState>, Box<StructureParserState>, ()>)
Trait Implementations§
Source§impl Clone for StructureParserState
impl Clone for StructureParserState
Source§fn clone(&self) -> StructureParserState
fn clone(&self) -> StructureParserState
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StructureParserState
impl Debug for StructureParserState
Source§impl PartialEq for StructureParserState
impl PartialEq for StructureParserState
impl StructuralPartialEq for StructureParserState
Auto Trait Implementations§
impl Freeze for StructureParserState
impl !RefUnwindSafe for StructureParserState
impl Send for StructureParserState
impl Sync for StructureParserState
impl Unpin for StructureParserState
impl !UnwindSafe for StructureParserState
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