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]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Event
[src]

[src]

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

[src]

This method tests for !=.

impl Debug for Event
[src]

[src]

Formats the value using the given formatter. Read more

impl Eq for Event
[src]

Auto Trait Implementations

impl Send for Event

impl Sync for Event