Struct winapi::dwrite::IDWriteFontCollection [] [src]

pub struct IDWriteFontCollection {
    pub lpVtbl: *const IDWriteFontCollectionVtbl,
}

Fields

lpVtbl: *const IDWriteFontCollectionVtbl

Methods

impl IDWriteFontCollection
[src]

unsafe fn GetFontFamilyCount(&mut self) -> UINT32

unsafe fn GetFontFamily(&mut self, index: UINT32, fontFamily: *mut *mut IDWriteFontFamily) -> HRESULT

unsafe fn FindFamilyName(&mut self, familyName: *const WCHAR, index: *mut UINT32, exists: *mut BOOL) -> HRESULT

unsafe fn GetFontFromFontFace(&mut self, fontFace: *mut IDWriteFontFace, font: *mut *mut IDWriteFont) -> HRESULT

Methods from Deref<Target=IUnknown>

unsafe fn QueryInterface(&mut self, riid: REFIID, ppvObject: *mut *mut c_void) -> HRESULT

unsafe fn AddRef(&mut self) -> ULONG

unsafe fn Release(&mut self) -> ULONG

Trait Implementations

impl Debug for IDWriteFontCollection
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Deref for IDWriteFontCollection
[src]

type Target = IUnknown

The resulting type after dereferencing

fn deref(&self) -> &IUnknown

The method called to dereference a value

impl DerefMut for IDWriteFontCollection
[src]

fn deref_mut(&mut self) -> &mut IUnknown

The method called to mutably dereference a value