Struct windows::Win32::Graphics::DirectWrite::IDWriteFontFace_Vtbl

#[repr(C)]
pub struct IDWriteFontFace_Vtbl {
Show 16 fields pub base__: IUnknown_Vtbl, pub GetType: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_FACE_TYPE, pub GetFiles: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut *mut c_void) -> HRESULT, pub GetIndex: unsafe extern "system" fn(_: *mut c_void) -> u32, pub GetSimulations: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_SIMULATIONS, pub IsSymbolFont: unsafe extern "system" fn(_: *mut c_void) -> BOOL, pub GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_METRICS), pub GetGlyphCount: unsafe extern "system" fn(_: *mut c_void) -> u16, pub GetDesignGlyphMetrics: unsafe extern "system" fn(_: *mut c_void, _: *const u16, _: u32, _: *mut DWRITE_GLYPH_METRICS, _: BOOL) -> HRESULT, pub GetGlyphIndices: unsafe extern "system" fn(_: *mut c_void, _: *const u32, _: u32, _: *mut u16) -> HRESULT, pub TryGetFontTable: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut u32, _: *mut *mut c_void, _: *mut BOOL) -> HRESULT, pub ReleaseFontTable: unsafe extern "system" fn(_: *mut c_void, _: *const c_void), pub GetGlyphRunOutline: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const u16, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: u32, _: BOOL, _: BOOL, _: *mut c_void) -> HRESULT, pub GetRecommendedRenderingMode: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: DWRITE_MEASURING_MODE, _: *mut c_void, _: *mut DWRITE_RENDERING_MODE) -> HRESULT, pub GetGdiCompatibleMetrics: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *const DWRITE_MATRIX, _: *mut DWRITE_FONT_METRICS) -> HRESULT, pub GetGdiCompatibleGlyphMetrics: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *const DWRITE_MATRIX, _: BOOL, _: *const u16, _: u32, _: *mut DWRITE_GLYPH_METRICS, _: BOOL) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§GetType: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_FACE_TYPE§GetFiles: unsafe extern "system" fn(_: *mut c_void, _: *mut u32, _: *mut *mut c_void) -> HRESULT§GetIndex: unsafe extern "system" fn(_: *mut c_void) -> u32§GetSimulations: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_SIMULATIONS§IsSymbolFont: unsafe extern "system" fn(_: *mut c_void) -> BOOL§GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_METRICS)§GetGlyphCount: unsafe extern "system" fn(_: *mut c_void) -> u16§GetDesignGlyphMetrics: unsafe extern "system" fn(_: *mut c_void, _: *const u16, _: u32, _: *mut DWRITE_GLYPH_METRICS, _: BOOL) -> HRESULT§GetGlyphIndices: unsafe extern "system" fn(_: *mut c_void, _: *const u32, _: u32, _: *mut u16) -> HRESULT§TryGetFontTable: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void, _: *mut u32, _: *mut *mut c_void, _: *mut BOOL) -> HRESULT§ReleaseFontTable: unsafe extern "system" fn(_: *mut c_void, _: *const c_void)§GetGlyphRunOutline: unsafe extern "system" fn(_: *mut c_void, _: f32, _: *const u16, _: *const f32, _: *const DWRITE_GLYPH_OFFSET, _: u32, _: BOOL, _: BOOL, _: *mut c_void) -> HRESULT§GetRecommendedRenderingMode: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: DWRITE_MEASURING_MODE, _: *mut c_void, _: *mut DWRITE_RENDERING_MODE) -> HRESULT§GetGdiCompatibleMetrics: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *const DWRITE_MATRIX, _: *mut DWRITE_FONT_METRICS) -> HRESULT§GetGdiCompatibleGlyphMetrics: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: *const DWRITE_MATRIX, _: BOOL, _: *const u16, _: u32, _: *mut DWRITE_GLYPH_METRICS, _: BOOL) -> HRESULT

Implementations§

§

impl IDWriteFontFace_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IDWriteFontFace_Vtbl
where Identity: IDWriteFontFace_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

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>,

§

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>,

§

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.