pub trait IDWriteFontCollection2_Impl: Sized + IDWriteFontCollection1_Impl {
    // Required methods
    fn GetFontFamily(&self, index: u32) -> Result<IDWriteFontFamily2>;
    fn GetMatchingFonts(
        &self,
        familyname: &PCWSTR,
        fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
        fontaxisvaluecount: u32,
    ) -> Result<IDWriteFontList2>;
    fn GetFontFamilyModel(&self) -> DWRITE_FONT_FAMILY_MODEL;
    fn GetFontSet(&self) -> Result<IDWriteFontSet1>;
}

Required Methods§

fn GetFontFamily(&self, index: u32) -> Result<IDWriteFontFamily2>

fn GetMatchingFonts( &self, familyname: &PCWSTR, fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE, fontaxisvaluecount: u32, ) -> Result<IDWriteFontList2>

fn GetFontFamilyModel(&self) -> DWRITE_FONT_FAMILY_MODEL

fn GetFontSet(&self) -> Result<IDWriteFontSet1>

Object Safety§

This trait is not object safe.

Implementors§