[−][src]Trait annotate_snippets::formatter::style::Style
This trait implements a return value for the Stylesheet::get_style
.
Required methods
fn paint(&self, text: &str) -> String
The method used by the DisplayListFormatter to style the message.
fn bold(&self) -> Box<dyn Style>
The method used by the DisplayListFormatter to display the message in bold font.