[−][src]Trait char_lex::TokenWrapper
Trait for anything that wants to automatically wrap a Token
.
Required methods
fn wrap(token: T, context: Context) -> Self
Function that wraps the Token
and the Context
and returns itself.
Implementors
impl<T> TokenWrapper<T> for T where
T: TokenTrait,
[src]
T: TokenTrait,