FontQuery

Trait FontQuery 

Source
pub trait FontQuery {
    // Required method
    fn post_script_name(&self) -> &'static str;
}
Expand description

Implemented by all font-like types (including FontAsset).

Required Methods§

Source

fn post_script_name(&self) -> &'static str

Returns the PostScript name of this font. This is the name that should be used when assigning the font to a text style using FontFamily::Named(...).

Implementors§