Enum commands::tokenizer::TokenType [] [src]

pub enum TokenType {
    Whitespace,
    Word,
}

The role that a token plays: Whitespace or Word.

Variants

The token represents whitespace and not a word.

The token represents a word within the body of text. This takes double quoted strings into account.

Trait Implementations

impl Clone for TokenType
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for TokenType
[src]

impl Debug for TokenType
[src]

Formats the value using the given formatter.

impl PartialEq for TokenType
[src]

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

This method tests for !=.