enum ParserState {
Show 16 variants
StreamStart,
StreamEnd,
ImplicitDocumentStart,
DocumentStart,
DocumentContent,
DocumentEnd,
BlockNode,
BlockMapping,
BlockMappingKey,
BlockMappingValue,
BlockSequence,
FlowMapping,
FlowMappingKey,
FlowMappingValue,
FlowSequence,
BlockEnd,
}Expand description
Parser state for tracking context
Variants§
StreamStart
StreamEnd
ImplicitDocumentStart
DocumentStart
DocumentContent
DocumentEnd
BlockNode
BlockMapping
BlockMappingKey
BlockMappingValue
BlockSequence
FlowMapping
FlowMappingKey
FlowMappingValue
FlowSequence
BlockEnd
Trait Implementations§
Source§impl Clone for ParserState
impl Clone for ParserState
Source§fn clone(&self) -> ParserState
fn clone(&self) -> ParserState
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 ParserState
impl Debug for ParserState
Source§impl PartialEq for ParserState
impl PartialEq for ParserState
impl Copy for ParserState
impl StructuralPartialEq for ParserState
Auto Trait Implementations§
impl Freeze for ParserState
impl RefUnwindSafe for ParserState
impl Send for ParserState
impl Sync for ParserState
impl Unpin for ParserState
impl UnwindSafe for ParserState
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