#[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,
}
Fields§
§parent: IUnknownVtbl
§GetFontFile: unsafe extern "system" fn(This: *mut IDWriteFontResource, fontFile: *mut *mut IDWriteFontFile) -> HRESULT
§GetFontFaceIndex: unsafe extern "system" fn(This: *mut IDWriteFontResource) -> UINT32
§GetFontAxisCount: unsafe extern "system" fn(This: *mut IDWriteFontResource) -> UINT32
§GetDefaultFontAxisValues: unsafe extern "system" fn(This: *mut IDWriteFontResource, values: *const DWRITE_FONT_AXIS_VALUE, numValues: UINT32) -> HRESULT
§GetFontAxisRanges: unsafe extern "system" fn(This: *mut IDWriteFontResource, ranges: *const DWRITE_FONT_AXIS_RANGE, numRanges: UINT32) -> HRESULT
§GetFontAxisAttributes: unsafe extern "system" fn(This: *mut IDWriteFontResource, axis: UINT32) -> DWRITE_FONT_AXIS_ATTRIBUTES
§GetAxisNames: unsafe extern "system" fn(This: *mut IDWriteFontResource, axis: UINT32, names: *mut *mut IDWriteLocalizedStrings) -> HRESULT
§GetAxisValueNameCount: unsafe extern "system" fn(This: *mut IDWriteFontResource, axis: UINT32) -> UINT32
§GetAxisValueNames: unsafe extern "system" fn(This: *mut IDWriteFontResource, axis: UINT32, axisValue: UINT32, axisRange: *mut DWRITE_FONT_AXIS_RANGE, names: *mut *mut IDWriteLocalizedStrings) -> HRESULT
§HasVariations: unsafe extern "system" fn(This: *mut IDWriteFontResource) -> BOOL
§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
§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
Auto Trait Implementations§
impl Freeze for IDWriteFontResourceVtbl
impl RefUnwindSafe for IDWriteFontResourceVtbl
impl Send for IDWriteFontResourceVtbl
impl Sync for IDWriteFontResourceVtbl
impl Unpin for IDWriteFontResourceVtbl
impl UnwindSafe for IDWriteFontResourceVtbl
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