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§
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>
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.