Trait FormatToken

Source
pub trait FormatToken {
    // Required method
    fn format(&self, terminal_names: &'static [&'static str]) -> String;
}
Expand description

Common formatting for Token and OwnedToken

Required Methods§

Source

fn format(&self, terminal_names: &'static [&'static str]) -> String

Generates a formatted position which an editor can follow via mouse click.

Implementors§