Function ucglib::tokenizer::token_clone[][src]

pub fn token_clone(t: &Token) -> Result<Token, Error<SliceIter<'_, Token>>>

Clones a token.

This is necessary to allow the match_type and match_token macros to work.