Enum yaml_rust::scanner::TokenType [] [src]

pub enum TokenType {
    NoToken,
    StreamStart(TEncoding),
    StreamEnd,
    VersionDirective(u32u32),
    TagDirective(StringString),
    DocumentStart,
    DocumentEnd,
    BlockSequenceStart,
    BlockMappingStart,
    BlockEnd,
    FlowSequenceStart,
    FlowSequenceEnd,
    FlowMappingStart,
    FlowMappingEnd,
    BlockEntry,
    FlowEntry,
    Key,
    Value,
    Alias(String),
    Anchor(String),
    Tag(StringString),
    Scalar(TScalarStyleString),
}

Variants

major, minor

handle, prefix

handle, suffix

Trait Implementations

impl Clone for TokenType
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for TokenType
[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 TokenType
[src]

[src]

Formats the value using the given formatter.

impl Eq for TokenType
[src]