Trait plotters::style::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