#[repr(C)]pub struct IDWriteFontFamily1 {
pub lpVtbl: *const IDWriteFontFamily1Vtbl,
}
Fields§
§lpVtbl: *const IDWriteFontFamily1Vtbl
Implementations§
Source§impl IDWriteFontFamily1
impl IDWriteFontFamily1
pub unsafe fn GetFontLocality(&self, listIndex: UINT32) -> DWRITE_LOCALITY
pub unsafe fn GetFont( &self, listIndex: UINT32, font: *mut *mut IDWriteFont3, ) -> HRESULT
pub unsafe fn GetFontFaceReference( &self, listIndex: UINT32, fontFaceReference: *mut *mut IDWriteFontFaceReference, ) -> HRESULT
Methods from Deref<Target = 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 IDWriteFontFamily1
impl Deref for IDWriteFontFamily1
Source§type Target = IDWriteFontFamily
type Target = IDWriteFontFamily
The resulting type after dereferencing.
Source§fn deref(&self) -> &IDWriteFontFamily
fn deref(&self) -> &IDWriteFontFamily
Dereferences the value.
Auto Trait Implementations§
impl Freeze for IDWriteFontFamily1
impl RefUnwindSafe for IDWriteFontFamily1
impl !Send for IDWriteFontFamily1
impl !Sync for IDWriteFontFamily1
impl Unpin for IDWriteFontFamily1
impl UnwindSafe for IDWriteFontFamily1
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