pub trait IDWriteFontFallbackBuilder_Impl: Sized {
// Required methods
fn AddMapping(
&self,
ranges: *const DWRITE_UNICODE_RANGE,
rangescount: u32,
targetfamilynames: *const *const u16,
targetfamilynamescount: u32,
fontcollection: Option<&IDWriteFontCollection>,
localename: &PCWSTR,
basefamilyname: &PCWSTR,
scale: f32,
) -> Result<()>;
fn AddMappings(
&self,
fontfallback: Option<&IDWriteFontFallback>,
) -> Result<()>;
fn CreateFontFallback(&self) -> Result<IDWriteFontFallback>;
}
Required Methods§
fn AddMapping( &self, ranges: *const DWRITE_UNICODE_RANGE, rangescount: u32, targetfamilynames: *const *const u16, targetfamilynamescount: u32, fontcollection: Option<&IDWriteFontCollection>, localename: &PCWSTR, basefamilyname: &PCWSTR, scale: f32, ) -> Result<()>
fn AddMappings(&self, fontfallback: Option<&IDWriteFontFallback>) -> Result<()>
fn CreateFontFallback(&self) -> Result<IDWriteFontFallback>
Object Safety§
This trait is not object safe.