[−][src]Trait guion::style::Style
Associated Types
type Font
type Cursor
type Color: Color
type PreprocessedText: PreprocessedText<E>
type PreprocessedChar: PreprocessedChar
type Variant: StyleVariant
Required methods
fn font(&self, v: &Self::Variant) -> Option<&Self::Font>
fn cursor(&self, v: &Self::Variant) -> Self::Cursor
fn color(&self, v: &Self::Variant) -> Self::Color
fn preprocess_text(&self, s: &str, c: &mut E::Context) -> Self::PreprocessedText
fn is_cached_valid(
&self,
s: &Self::PreprocessedText,
_c: &mut E::Context
) -> bool
&self,
s: &Self::PreprocessedText,
_c: &mut E::Context
) -> bool