pub trait TokenMatch<T>where
T: TokenTrait,{
// Required method
fn matches_token(&self, t: &T) -> bool;
}Expand description
Trait for anything that wants to match a single Token.
Required Methods§
Sourcefn matches_token(&self, t: &T) -> bool
fn matches_token(&self, t: &T) -> bool
Function that matches a single Token.