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,
}Event is used with the low-level event base parsing API,
see EventReceiver trait.
Variants
NothingReserved 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
MappingEnd
Trait Implementations
impl Clone for Event[src]
fn clone(&self) -> Event[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl PartialEq for Event[src]
fn eq(&self, __arg_0: &Event) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, __arg_0: &Event) -> bool[src]
This method tests for !=.