#[repr(C)]pub struct IDWriteFontFamily {
pub lpVtbl: *const IDWriteFontFamilyVtbl,
}
Fields§
§lpVtbl: *const IDWriteFontFamilyVtbl
Implementations§
Source§impl IDWriteFontFamily
impl IDWriteFontFamily
pub unsafe fn GetFamilyNames( &self, names: *mut *mut IDWriteLocalizedStrings, ) -> HRESULT
pub unsafe fn GetFirstMatchingFont( &self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE, matchingFont: *mut *mut IDWriteFont, ) -> HRESULT
pub unsafe fn GetMatchingFonts( &self, weight: DWRITE_FONT_WEIGHT, stretch: DWRITE_FONT_STRETCH, style: DWRITE_FONT_STYLE, matchingFonts: *mut *mut IDWriteFontList, ) -> HRESULT
Methods from Deref<Target = IDWriteFontList>§
pub unsafe fn GetFontCollection( &self, fontCollection: *mut *mut IDWriteFontCollection, ) -> HRESULT
pub unsafe fn GetFontCount(&self) -> UINT32
pub unsafe fn GetFont( &self, index: UINT32, font: *mut *mut IDWriteFont, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDWriteFontFamily
impl Deref for IDWriteFontFamily
Source§type Target = IDWriteFontList
type Target = IDWriteFontList
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDWriteFontList
fn deref(&self) -> &IDWriteFontList
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDWriteFontFamily
impl RefUnwindSafe for IDWriteFontFamily
impl !Send for IDWriteFontFamily
impl !Sync for IDWriteFontFamily
impl Unpin for IDWriteFontFamily
impl UnwindSafe for IDWriteFontFamily
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more