Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFontFamily2 [−][src]
#[repr(transparent)]pub struct IDWriteFontFamily2(_);
Implementations
pub unsafe fn GetFirstMatchingFont(
&self,
weight: DWRITE_FONT_WEIGHT,
stretch: DWRITE_FONT_STRETCH,
style: DWRITE_FONT_STYLE
) -> Result<IDWriteFont>
pub unsafe fn GetMatchingFonts(
&self,
weight: DWRITE_FONT_WEIGHT,
stretch: DWRITE_FONT_STRETCH,
style: DWRITE_FONT_STYLE
) -> Result<IDWriteFontList>
pub unsafe fn GetMatchingFonts2(
&self,
fontaxisvalues: *const DWRITE_FONT_AXIS_VALUE,
fontaxisvaluecount: u32
) -> Result<IDWriteFontList2>
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.
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 IDWriteFontFamily2
impl !Send for IDWriteFontFamily2
impl !Sync for IDWriteFontFamily2
impl Unpin for IDWriteFontFamily2
impl UnwindSafe for IDWriteFontFamily2
Blanket Implementations
Mutably borrows from an owned value. Read more