Enum yaml_rust::parser::Event
[−]
[src]
pub enum Event {
NoEvent,
StreamStart,
StreamEnd,
DocumentStart,
DocumentEnd,
Alias(usize),
Scalar(String, TScalarStyle, usize, Option<TokenType>),
SequenceStart(usize),
SequenceEnd,
MappingStart(usize),
MappingEnd,
}Event is used with the low-level event base parsing API,
see EventReceiver trait.
Variants
NoEventReserved for internal use
StreamStartStreamEndDocumentStartDocumentEndAlias(usize)Refer to an anchor ID
Scalar(String, TScalarStyle, usize, Option<TokenType>)Value, style, anchor_id, tag
SequenceStart(usize)Anchor ID
SequenceEndMappingStart(usize)Anchor ID
MappingEndTrait Implementations
impl Eq for Event[src]
impl Debug for Event[src]
impl PartialEq for Event[src]
fn eq(&self, __arg_0: &Event) -> bool
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Event) -> bool
This method tests for !=.
impl Clone for Event[src]
fn clone(&self) -> Event
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0
Performs copy-assignment from source. Read more