#[repr(C)]pub struct IDWriteFontCollection {
pub lpVtbl: *const IDWriteFontCollectionVtbl,
}
Fields§
§lpVtbl: *const IDWriteFontCollectionVtbl
Implementations§
Source§impl IDWriteFontCollection
impl IDWriteFontCollection
pub unsafe fn GetFontFamilyCount(&self) -> UINT32
pub unsafe fn GetFontFamily( &self, index: UINT32, fontFamily: *mut *mut IDWriteFontFamily, ) -> HRESULT
pub unsafe fn FindFamilyName( &self, familyName: *const WCHAR, index: *mut UINT32, exists: *mut BOOL, ) -> HRESULT
pub unsafe fn GetFontFromFontFace( &self, fontFace: *mut IDWriteFontFace, font: *mut *mut IDWriteFont, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IDWriteFontCollection
impl Deref for IDWriteFontCollection
Auto Trait Implementations§
impl Freeze for IDWriteFontCollection
impl RefUnwindSafe for IDWriteFontCollection
impl !Send for IDWriteFontCollection
impl !Sync for IDWriteFontCollection
impl Unpin for IDWriteFontCollection
impl UnwindSafe for IDWriteFontCollection
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