[−][src]Trait char_lex::TokenTrait
The main trait for Tokens
,
it is the automatically implemented by the token
attribute macro.
Required methods
fn match_char(c: char) -> Option<Self>
Returns the enum element that matches the given char
.