[][src]Struct winapi::um::dwrite::IDWriteFontFamily

#[repr(C)]
pub struct IDWriteFontFamily { pub lpVtbl: *const IDWriteFontFamilyVtbl, }

Fields

lpVtbl: *const IDWriteFontFamilyVtbl

Methods

impl IDWriteFontFamily[src]

pub unsafe fn GetFamilyNames(
    &self,
    names: *mut *mut IDWriteLocalizedStrings
) -> HRESULT
[src]

pub unsafe fn GetFirstMatchingFont(
    &self,
    weight: DWRITE_FONT_WEIGHT,
    stretch: DWRITE_FONT_STRETCH,
    style: DWRITE_FONT_STYLE,
    matchingFont: *mut *mut IDWriteFont
) -> HRESULT
[src]

pub unsafe fn GetMatchingFonts(
    &self,
    weight: DWRITE_FONT_WEIGHT,
    stretch: DWRITE_FONT_STRETCH,
    style: DWRITE_FONT_STYLE,
    matchingFonts: *mut *mut IDWriteFontList
) -> HRESULT
[src]

Methods from Deref<Target = IDWriteFontList>

pub unsafe fn GetFontCollection(
    &self,
    fontCollection: *mut *mut IDWriteFontCollection
) -> HRESULT
[src]

pub unsafe fn GetFontCount(&self) -> UINT32[src]

pub unsafe fn GetFont(
    &self,
    index: UINT32,
    font: *mut *mut IDWriteFont
) -> HRESULT
[src]

Trait Implementations

impl Interface for IDWriteFontFamily[src]

impl Deref for IDWriteFontFamily[src]

type Target = IDWriteFontList

The resulting type after dereferencing.

Auto Trait Implementations

Blanket Implementations

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]