pub enum Code {
Show 31 variants
BeginMapping,
EndMapping,
BeginSequence,
EndSequence,
BeginScalar,
EndScalar,
BeginComment,
EndComment,
BeginAnchor,
EndAnchor,
BeginAlias,
EndAlias,
BeginTag,
EndTag,
BeginDocument,
EndDocument,
BeginNode,
EndNode,
BeginPair,
EndPair,
DirectivesEnd,
DocumentEnd,
Text,
Indicator,
Meta,
LineFeed,
LineFold,
White,
Indent,
Break,
Error,
}Expand description
Token codes corresponding to the YAML 1.2 token vocabulary.
Variants§
BeginMapping
EndMapping
BeginSequence
EndSequence
BeginScalar
EndScalar
BeginComment
EndComment
BeginAnchor
EndAnchor
BeginAlias
EndAlias
BeginTag
EndTag
BeginDocument
EndDocument
BeginNode
EndNode
BeginPair
EndPair
DirectivesEnd
DocumentEnd
Text
Indicator
Meta
LineFeed
LineFold
White
Indent
Break
Error
Trait Implementations§
impl Copy for Code
impl Eq for Code
impl StructuralPartialEq for Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnsafeUnpin for Code
impl UnwindSafe for Code
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