IntoFont

Trait IntoFont 

pub trait IntoFont<'a> {
    // Required method
    fn into_font(self) -> FontDesc<'a>;
}
Available on crate feature plot only.
Expand description

The trait that allows some type turns into a font description

Required Methods§

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

Make the font description from the source type

Implementors§

§

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