plotters::style

Trait IntoFont

Source
pub trait IntoFont<'a> {
    // Required method
    fn into_font(self) -> FontDesc<'a>;
}
Expand description

The trait that allows some type turns into a font description

Required Methods§

Source

fn into_font(self) -> FontDesc<'a>

Make the font description from the source type

Implementors§

Source§

impl<'a, T: Into<FontDesc<'a>>> IntoFont<'a> for T