windows::Win32::Graphics::DirectWrite

Trait IDWriteFontFamily_Impl

pub trait IDWriteFontFamily_Impl: IDWriteFontList_Impl {
    // Required methods
    fn GetFamilyNames(&self) -> Result<IDWriteLocalizedStrings>;
    fn GetFirstMatchingFont(
        &self,
        weight: DWRITE_FONT_WEIGHT,
        stretch: DWRITE_FONT_STRETCH,
        style: DWRITE_FONT_STYLE,
    ) -> Result<IDWriteFont>;
    fn GetMatchingFonts(
        &self,
        weight: DWRITE_FONT_WEIGHT,
        stretch: DWRITE_FONT_STRETCH,
        style: DWRITE_FONT_STYLE,
    ) -> Result<IDWriteFontList>;
}

Required Methods§

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§