#[repr(C)]
pub struct IDWriteFontResourceVtbl {Show 13 fields
pub parent: IUnknownVtbl,
pub GetFontFile: unsafe extern "system" fn(This: *mut IDWriteFontResource, fontFile: *mut *mut IDWriteFontFile) -> HRESULT,
pub GetFontFaceIndex: unsafe extern "system" fn(This: *mut IDWriteFontResource) -> UINT32,
pub GetFontAxisCount: unsafe extern "system" fn(This: *mut IDWriteFontResource) -> UINT32,
pub GetDefaultFontAxisValues: unsafe extern "system" fn(This: *mut IDWriteFontResource, values: *const DWRITE_FONT_AXIS_VALUE, numValues: UINT32) -> HRESULT,
pub GetFontAxisRanges: unsafe extern "system" fn(This: *mut IDWriteFontResource, ranges: *const DWRITE_FONT_AXIS_RANGE, numRanges: UINT32) -> HRESULT,
pub GetFontAxisAttributes: unsafe extern "system" fn(This: *mut IDWriteFontResource, axis: UINT32) -> DWRITE_FONT_AXIS_ATTRIBUTES,
pub GetAxisNames: unsafe extern "system" fn(This: *mut IDWriteFontResource, axis: UINT32, names: *mut *mut IDWriteLocalizedStrings) -> HRESULT,
pub GetAxisValueNameCount: unsafe extern "system" fn(This: *mut IDWriteFontResource, axis: UINT32) -> UINT32,
pub GetAxisValueNames: unsafe extern "system" fn(This: *mut IDWriteFontResource, axis: UINT32, axisValue: UINT32, axisRange: *mut DWRITE_FONT_AXIS_RANGE, names: *mut *mut IDWriteLocalizedStrings) -> HRESULT,
pub HasVariations: unsafe extern "system" fn(This: *mut IDWriteFontResource) -> BOOL,
pub CreateFontFace: unsafe extern "system" fn(This: *mut IDWriteFontResource, simulations: DWRITE_FONT_SIMULATIONS, axisValues: *const DWRITE_FONT_AXIS_VALUE, numValues: UINT32, fontFace: *mut *mut IDWriteFontFace5) -> HRESULT,
pub CreateFontFaceReference: unsafe extern "system" fn(This: *mut IDWriteFontResource, simulations: DWRITE_FONT_SIMULATIONS, axisValues: *const DWRITE_FONT_AXIS_VALUE, numValues: UINT32, reference: *mut *mut IDWriteFontFaceReference1) -> HRESULT,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.