Struct windows::Win32::Graphics::DirectWrite::IDWriteFont_Vtbl
#[repr(C)]pub struct IDWriteFont_Vtbl {
pub base__: IUnknown_Vtbl,
pub GetFontFamily: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetWeight: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_WEIGHT,
pub GetStretch: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_STRETCH,
pub GetStyle: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_STYLE,
pub IsSymbolFont: unsafe extern "system" fn(_: *mut c_void) -> BOOL,
pub GetFaceNames: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub GetInformationalStrings: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_INFORMATIONAL_STRING_ID, _: *mut *mut c_void, _: *mut BOOL) -> HRESULT,
pub GetSimulations: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_SIMULATIONS,
pub GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_METRICS),
pub HasCharacter: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT,
pub CreateFontFace: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§GetFontFamily: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetWeight: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_WEIGHT
§GetStretch: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_STRETCH
§GetStyle: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_STYLE
§IsSymbolFont: unsafe extern "system" fn(_: *mut c_void) -> BOOL
§GetFaceNames: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§GetInformationalStrings: unsafe extern "system" fn(_: *mut c_void, _: DWRITE_INFORMATIONAL_STRING_ID, _: *mut *mut c_void, _: *mut BOOL) -> HRESULT
§GetSimulations: unsafe extern "system" fn(_: *mut c_void) -> DWRITE_FONT_SIMULATIONS
§GetMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut DWRITE_FONT_METRICS)
§HasCharacter: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut BOOL) -> HRESULT
§CreateFontFace: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
Implementations§
§impl IDWriteFont_Vtbl
impl IDWriteFont_Vtbl
pub const fn new<Identity, const OFFSET: isize>() -> IDWriteFont_Vtblwhere
Identity: IDWriteFont_Impl + IUnknownImpl,
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IDWriteFont_Vtbl
impl RefUnwindSafe for IDWriteFont_Vtbl
impl Send for IDWriteFont_Vtbl
impl Sync for IDWriteFont_Vtbl
impl Unpin for IDWriteFont_Vtbl
impl UnwindSafe for IDWriteFont_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