Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFontSet [−][src]
#[repr(transparent)]pub struct IDWriteFontSet(_);
Implementations
pub unsafe fn FindFontFaceReference<'a>(
&self,
fontfacereference: impl IntoParam<'a, IDWriteFontFaceReference>,
listindex: *mut u32,
exists: *mut BOOL
) -> Result<()>
pub unsafe fn FindFontFace<'a>(
&self,
fontface: impl IntoParam<'a, IDWriteFontFace>,
listindex: *mut u32,
exists: *mut BOOL
) -> Result<()>
pub unsafe fn GetPropertyValues(
&self,
listindex: u32,
propertyid: DWRITE_FONT_PROPERTY_ID,
exists: *mut BOOL,
values: *mut Option<IDWriteLocalizedStrings>
) -> Result<()>
pub unsafe fn GetPropertyValues2<'a>(
&self,
propertyid: DWRITE_FONT_PROPERTY_ID,
preferredlocalenames: impl IntoParam<'a, PWSTR>
) -> Result<IDWriteStringList>
pub unsafe fn GetPropertyValues3(
&self,
propertyid: DWRITE_FONT_PROPERTY_ID
) -> Result<IDWriteStringList>
pub unsafe fn GetPropertyOccurrenceCount(
&self,
property: *const DWRITE_FONT_PROPERTY
) -> Result<u32>
pub unsafe fn GetMatchingFonts(
&self,
properties: *const DWRITE_FONT_PROPERTY,
propertycount: u32
) -> Result<IDWriteFontSet>
pub unsafe fn GetMatchingFonts2<'a>(
&self,
familyname: impl IntoParam<'a, PWSTR>,
fontweight: DWRITE_FONT_WEIGHT,
fontstretch: DWRITE_FONT_STRETCH,
fontstyle: DWRITE_FONT_STYLE
) -> Result<IDWriteFontSet>
Trait Implementations
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
Performs the conversion.
type Vtable = IDWriteFontSet_abi
Returns the vtable for an assumed interface. The name comes from Box::assume_init()
as
it assumes the vtable is implemented by the current interface’s vtable (e.g. a parent interface). Read more
Attempts to cast the current interface to another interface using QueryInterface
.
The name cast
is preferred to query
because there is a WinRT method named query but not one
named cast. Read more
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for IDWriteFontSet
impl !Send for IDWriteFontSet
impl !Sync for IDWriteFontSet
impl Unpin for IDWriteFontSet
impl UnwindSafe for IDWriteFontSet
Blanket Implementations
Returns a pointer for setting the object’s value via an ABI call.
Casts the ABI representation to a Rust object by taking ownership of the bits.
Mutably borrows from an owned value. Read more