Trait FontFaceExt

Source
pub trait FontFaceExt: IsA<FontFace> + 'static {
    // Provided methods
    fn describe(&self) -> FontDescription { ... }
    fn face_name(&self) -> GString { ... }
    fn family(&self) -> FontFamily { ... }
    fn is_synthesized(&self) -> bool { ... }
    fn list_sizes(&self) -> Vec<i32> { ... }
}

Provided Methods§

Source

fn describe(&self) -> FontDescription

Source

fn face_name(&self) -> GString

Source

fn family(&self) -> FontFamily

Available on crate feature v1_46 only.
Source

fn is_synthesized(&self) -> bool

Source

fn list_sizes(&self) -> Vec<i32>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<O> FontFaceExt for O
where O: IsA<FontFace>,