Trait lang_util::error::TokenExt

source ·
pub trait TokenExt {
    // Required method
    fn description(&self) -> TokenDescription;
}
Expand description

Methods provided for all Token implementations

Required Methods§

source

fn description(&self) -> TokenDescription

Return a descriptor for the current token

Implementors§

source§

impl<T: Token> TokenExt for T