Struct windows::Win32::Graphics::DirectWrite::IDWriteFontResource_Vtbl
#[repr(C)]pub struct IDWriteFontResource_Vtbl {Show 13 fields
pub base__: IUnknown_Vtbl,
pub GetFontFile: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetFontFaceIndex: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub GetFontAxisCount: unsafe extern "system" fn(_: *mut c_void) -> u32,
pub GetDefaultFontAxisValues: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_AXIS_VALUE, _: u32) -> HRESULT,
pub GetFontAxisRanges: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_AXIS_RANGE, _: u32) -> HRESULT,
pub GetFontAxisAttributes: unsafe extern "system" fn(_: *mut c_void, _: u32) -> DWRITE_FONT_AXIS_ATTRIBUTES,
pub GetAxisNames: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT,
pub GetAxisValueNameCount: unsafe extern "system" fn(_: *mut c_void, _: u32) -> u32,
pub GetAxisValueNames: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut DWRITE_FONT_AXIS_RANGE, _: *mut *mut c_void) -> HRESULT,
pub HasVariations: unsafe extern "system" fn(_: *mut c_void) -> BOOL,
pub CreateFontFace: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_SIMULATIONS, _: *const DWRITE_FONT_AXIS_VALUE, _: u32, _: *mut *mut c_void) -> HRESULT,
pub CreateFontFaceReference: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_SIMULATIONS, _: *const DWRITE_FONT_AXIS_VALUE, _: u32, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetFontFile: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetFontFaceIndex: unsafe extern "system" fn(_: *mut c_void) -> u32
§GetFontAxisCount: unsafe extern "system" fn(_: *mut c_void) -> u32
§GetDefaultFontAxisValues: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_AXIS_VALUE, _: u32) -> HRESULT
§GetFontAxisRanges: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_AXIS_RANGE, _: u32) -> HRESULT
§GetFontAxisAttributes: unsafe extern "system" fn(_: *mut c_void, _: u32) -> DWRITE_FONT_AXIS_ATTRIBUTES
§GetAxisNames: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT
§GetAxisValueNameCount: unsafe extern "system" fn(_: *mut c_void, _: u32) -> u32
§GetAxisValueNames: unsafe extern "system" fn(_: *mut c_void, _: u32, _: u32, _: *mut DWRITE_FONT_AXIS_RANGE, _: *mut *mut c_void) -> HRESULT
§HasVariations: unsafe extern "system" fn(_: *mut c_void) -> BOOL
§CreateFontFace: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_SIMULATIONS, _: *const DWRITE_FONT_AXIS_VALUE, _: u32, _: *mut *mut c_void) -> HRESULT
§CreateFontFaceReference: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_FONT_SIMULATIONS, _: *const DWRITE_FONT_AXIS_VALUE, _: u32, _: *mut *mut c_void) -> HRESULT
Implementations§
§impl IDWriteFontResource_Vtbl
impl IDWriteFontResource_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDWriteFontResource_Vtblwhere
Identity: IDWriteFontResource_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDWriteFontResource_Vtbl
impl RefUnwindSafe for IDWriteFontResource_Vtbl
impl Send for IDWriteFontResource_Vtbl
impl Sync for IDWriteFontResource_Vtbl
impl Unpin for IDWriteFontResource_Vtbl
impl UnwindSafe for IDWriteFontResource_Vtbl
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