[−][src]Struct winapi::um::dwrite::IDWriteFontFamily
Fields
lpVtbl: *const IDWriteFontFamilyVtbl
Methods
impl IDWriteFontFamily
[src]
pub unsafe fn GetFamilyNames(
&self,
names: *mut *mut IDWriteLocalizedStrings
) -> HRESULT
[src]
&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
[src]
&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
[src]
&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
[src]
&self,
fontCollection: *mut *mut IDWriteFontCollection
) -> HRESULT
pub unsafe fn GetFontCount(&self) -> UINT32
[src]
pub unsafe fn GetFont(
&self,
index: UINT32,
font: *mut *mut IDWriteFont
) -> HRESULT
[src]
&self,
index: UINT32,
font: *mut *mut IDWriteFont
) -> HRESULT
Trait Implementations
impl Interface for IDWriteFontFamily
[src]
impl Deref for IDWriteFontFamily
[src]
type Target = IDWriteFontList
The resulting type after dereferencing.
fn deref(&self) -> &IDWriteFontList
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,