IDWriteFontResourceVtbl

Struct IDWriteFontResourceVtbl 

Source
#[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§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

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

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.