Trait Tokenize

Source
pub trait Tokenize {
    // Required method
    fn into_tokens(self) -> Vec<Token>;
}
Expand description

Convert types into Tokens.

Required Methods§

Source

fn into_tokens(self) -> Vec<Token>

Converts self into a Vec<Token>.

Implementations on Foreign Types§

Source§

impl Tokenize for ()

Source§

impl<'a> Tokenize for &'a [Token]

Implementors§