pub trait IDWriteFontCollection_Impl: Sized {
// Required methods
fn GetFontFamilyCount(&self) -> u32;
fn GetFontFamily(&self, index: u32) -> Result<IDWriteFontFamily>;
fn FindFamilyName(
&self,
familyname: &PCWSTR,
index: *mut u32,
exists: *mut BOOL,
) -> Result<()>;
fn GetFontFromFontFace(
&self,
fontface: Option<&IDWriteFontFace>,
) -> Result<IDWriteFont>;
}
Required Methods§
fn GetFontFamilyCount(&self) -> u32
fn GetFontFamily(&self, index: u32) -> Result<IDWriteFontFamily>
fn FindFamilyName( &self, familyname: &PCWSTR, index: *mut u32, exists: *mut BOOL, ) -> Result<()>
fn GetFontFromFontFace( &self, fontface: Option<&IDWriteFontFace>, ) -> Result<IDWriteFont>
Object Safety§
This trait is not object safe.