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
Reserved for internal use
Alias(usize)
Refer to an anchor ID
Scalar(String, TScalarStyle, usize, Option<TokenType>)
Value, style, anchor_id, tag
SequenceStart(usize)
Anchor ID
MappingStart(usize)
Anchor ID
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Event
impl UnwindSafe for Event
Blanket Implementations
Mutably borrows from an owned value. Read more