[][src]Trait owned_ttf_parser::AsFontRef

pub trait AsFontRef {
    fn as_font(&self) -> &Font;
}

Used to perform a cheap conversion to a Font reference.

Required methods

fn as_font(&self) -> &Font

Convert to a Font reference.

Loading content...

Implementors

impl AsFontRef for OwnedFont[src]

impl<'_> AsFontRef for &'_ OwnedFont[src]

impl<'_> AsFontRef for Font<'_>[src]

impl<'_, '_> AsFontRef for &'_ Font<'_>[src]

Loading content...