Enum yaml_rust::scanner::TokenType [−][src]
pub enum TokenType {
Show 22 variants
NoToken,
StreamStart(TEncoding),
StreamEnd,
VersionDirective(u32, u32),
TagDirective(String, String),
DocumentStart,
DocumentEnd,
BlockSequenceStart,
BlockMappingStart,
BlockEnd,
FlowSequenceStart,
FlowSequenceEnd,
FlowMappingStart,
FlowMappingEnd,
BlockEntry,
FlowEntry,
Key,
Value,
Alias(String),
Anchor(String),
Tag(String, String),
Scalar(TScalarStyle, String),
}
Variants
NoToken
StreamStart(TEncoding)
Tuple Fields
0: TEncoding
StreamEnd
VersionDirective(u32, u32)
major, minor
TagDirective(String, String)
handle, prefix
DocumentStart
DocumentEnd
BlockSequenceStart
BlockMappingStart
BlockEnd
FlowSequenceStart
FlowSequenceEnd
FlowMappingStart
FlowMappingEnd
BlockEntry
FlowEntry
Key
Value
Alias(String)
Tuple Fields
0: String
Anchor(String)
Tuple Fields
0: String
Tag(String, String)
handle, suffix
Scalar(TScalarStyle, String)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TokenType
impl UnwindSafe for TokenType
Blanket Implementations
Mutably borrows from an owned value. Read more