Struct mltg_bindings::Windows::Win32::Graphics::DirectWrite::IDWriteFontFamily [−][src]
#[repr(transparent)]pub struct IDWriteFontFamily(_);
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>
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 IDWriteFontFamily
impl !Send for IDWriteFontFamily
impl !Sync for IDWriteFontFamily
impl Unpin for IDWriteFontFamily
impl UnwindSafe for IDWriteFontFamily
Blanket Implementations
Mutably borrows from an owned value. Read more