Trait annotate_snippets::formatter::style::Stylesheet
[−]
[src]
pub trait Stylesheet { fn get_style(&self, class: StyleClass) -> Box<Style>; }
Trait to annotate structs that can provide Style
implementations for
every StyleClass
variant.
Required Methods
fn get_style(&self, class: StyleClass) -> Box<Style>
Returns a Style
implementer based on the requested StyleClass
variant.
Implementors
impl Stylesheet for NoColorStylesheet