Enum yaml_rust::parser::Event [−][src]
pub enum Event {
Nothing,
StreamStart,
StreamEnd,
DocumentStart,
DocumentEnd,
Alias(usize),
Scalar(String, TScalarStyle, usize, Option<TokenType>),
SequenceStart(usize),
SequenceEnd,
MappingStart(usize),
MappingEnd,
}Expand description
Event is used with the low-level event base parsing API,
see EventReceiver trait.
Variants
Nothing
Reserved for internal use
StreamStart
StreamEnd
DocumentStart
DocumentEnd
Alias(usize)
Tuple Fields
0: usizeRefer to an anchor ID
Scalar(String, TScalarStyle, usize, Option<TokenType>)
Value, style, anchor_id, tag
SequenceStart(usize)
Tuple Fields
0: usizeAnchor ID
SequenceEnd
MappingStart(usize)
Tuple Fields
0: usizeAnchor ID
MappingEnd
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more
