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 copy 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
source§fn eq(&self, other: &StructureParserState) -> bool
fn eq(&self, other: &StructureParserState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for StructureParserState
Auto Trait Implementations§
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