Enum yaml_rust::parser::Event [] [src]

pub enum Event {
    Nothing,
    StreamStart,
    StreamEnd,
    DocumentStart,
    DocumentEnd,
    Alias(usize),
    Scalar(StringTScalarStyleusizeOption<TokenType>),
    SequenceStart(usize),
    SequenceEnd,
    MappingStart(usize),
    MappingEnd,
}

Event is used with the low-level event base parsing API, see EventReceiver trait.

Variants

Reserved for internal use

Refer to an anchor ID

Value, style, anchor_id, tag

Anchor ID

Anchor ID

Trait Implementations

impl Clone for Event
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Event
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Event
[src]

Formats the value using the given formatter.

impl Eq for Event
[src]