Struct IConsolePowerSink_Vtbl
#[repr(C)]pub struct IConsolePowerSink_Vtbl {
pub base__: IUnknown_Vtbl,
pub OnPowerBroadcast: unsafe extern "system" fn(_: *mut c_void, _: u32, _: LPARAM, _: *mut LRESULT) -> HRESULT,
}
Fields§
§base__: IUnknown_Vtbl
§OnPowerBroadcast: unsafe extern "system" fn(_: *mut c_void, _: u32, _: LPARAM, _: *mut LRESULT) -> HRESULT
Implementations§
§impl IConsolePowerSink_Vtbl
impl IConsolePowerSink_Vtbl
pub const fn new<Identity: IConsolePowerSink_Impl, const OFFSET: isize>() -> Self
pub fn matches(iid: &GUID) -> bool
Auto Trait Implementations§
impl Freeze for IConsolePowerSink_Vtbl
impl RefUnwindSafe for IConsolePowerSink_Vtbl
impl Send for IConsolePowerSink_Vtbl
impl Sync for IConsolePowerSink_Vtbl
impl Unpin for IConsolePowerSink_Vtbl
impl UnwindSafe for IConsolePowerSink_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