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

pub enum TokenType {
    Whitespace,
    Word,
}

The role that a token plays: Whitespace or Word.

Variants

Whitespace

The token represents whitespace and not a word.

Word

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

Trait Implementations

Derived Implementations

impl PartialEq for TokenType

fn eq(&self, __arg_0: &TokenType) -> bool

fn ne(&self, __arg_0: &TokenType) -> bool

impl Debug for TokenType

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Copy for TokenType

impl Clone for TokenType

fn clone(&self) -> TokenType

1.0.0fn clone_from(&mut self, source: &Self)