pub trait FontFamilyExt: 'static {
    // Required methods
    fn face(&self, name: Option<&str>) -> Option<FontFace>;
    fn name(&self) -> Option<GString>;
    fn is_monospace(&self) -> bool;
    fn is_variable(&self) -> bool;
    fn list_faces(&self) -> Vec<FontFace>;
}

Required Methods§

source

fn face(&self, name: Option<&str>) -> Option<FontFace>

Available on crate feature v1_46 only.
source

fn name(&self) -> Option<GString>

source

fn is_monospace(&self) -> bool

source

fn is_variable(&self) -> bool

Available on crate feature v1_44 only.
source

fn list_faces(&self) -> Vec<FontFace>

Implementors§