Struct IFont_Vtbl
#[repr(C)]pub struct IFont_Vtbl {Show 25 fields
pub base__: IUnknown_Vtbl,
pub Name: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub SetName: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub Size: unsafe extern "system" fn(_: *mut c_void, _: *mut CY) -> HRESULT,
pub SetSize: unsafe extern "system" fn(_: *mut c_void, _: CY) -> HRESULT,
pub Bold: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetBold: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub Italic: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetItalic: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub Underline: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetUnderline: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub Strikethrough: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT,
pub SetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT,
pub Weight: unsafe extern "system" fn(_: *mut c_void, _: *mut i16) -> HRESULT,
pub SetWeight: unsafe extern "system" fn(_: *mut c_void, _: i16) -> HRESULT,
pub Charset: unsafe extern "system" fn(_: *mut c_void, _: *mut i16) -> HRESULT,
pub SetCharset: unsafe extern "system" fn(_: *mut c_void, _: i16) -> HRESULT,
pub hFont: unsafe extern "system" fn(_: *mut c_void, _: *mut HFONT) -> HRESULT,
pub Clone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub IsEqual: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT,
pub SetRatio: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT,
pub QueryTextMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut TEXTMETRICW) -> HRESULT,
pub AddRefHfont: unsafe extern "system" fn(_: *mut c_void, _: HFONT) -> HRESULT,
pub ReleaseHfont: unsafe extern "system" fn(_: *mut c_void, _: HFONT) -> HRESULT,
pub SetHdc: unsafe extern "system" fn(_: *mut c_void, _: HDC) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§Name: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§SetName: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§Size: unsafe extern "system" fn(_: *mut c_void, _: *mut CY) -> HRESULT
§SetSize: unsafe extern "system" fn(_: *mut c_void, _: CY) -> HRESULT
§Bold: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetBold: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§Italic: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetItalic: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§Underline: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetUnderline: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§Strikethrough: unsafe extern "system" fn(_: *mut c_void, _: *mut BOOL) -> HRESULT
§SetStrikethrough: unsafe extern "system" fn(_: *mut c_void, _: BOOL) -> HRESULT
§Weight: unsafe extern "system" fn(_: *mut c_void, _: *mut i16) -> HRESULT
§SetWeight: unsafe extern "system" fn(_: *mut c_void, _: i16) -> HRESULT
§Charset: unsafe extern "system" fn(_: *mut c_void, _: *mut i16) -> HRESULT
§SetCharset: unsafe extern "system" fn(_: *mut c_void, _: i16) -> HRESULT
§hFont: unsafe extern "system" fn(_: *mut c_void, _: *mut HFONT) -> HRESULT
§Clone: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§IsEqual: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT
§SetRatio: unsafe extern "system" fn(_: *mut c_void, _: i32, _: i32) -> HRESULT
§QueryTextMetrics: unsafe extern "system" fn(_: *mut c_void, _: *mut TEXTMETRICW) -> HRESULT
§AddRefHfont: unsafe extern "system" fn(_: *mut c_void, _: HFONT) -> HRESULT
§ReleaseHfont: unsafe extern "system" fn(_: *mut c_void, _: HFONT) -> HRESULT
§SetHdc: unsafe extern "system" fn(_: *mut c_void, _: HDC) -> HRESULT
Implementations§
§impl IFont_Vtbl
impl IFont_Vtbl
pub const fn new<Identity: IFont_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IFont_Vtbl
impl RefUnwindSafe for IFont_Vtbl
impl Send for IFont_Vtbl
impl Sync for IFont_Vtbl
impl Unpin for IFont_Vtbl
impl UnwindSafe for IFont_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