Struct windows::Devices::Power::IBattery_Vtbl
#[repr(C)]pub struct IBattery_Vtbl {
pub base__: IInspectable_Vtbl,
pub DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT,
pub GetReport: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub ReportUpdated: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT,
pub RemoveReportUpdated: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§DeviceId: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<HSTRING>) -> HRESULT
§GetReport: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§ReportUpdated: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: *mut EventRegistrationToken) -> HRESULT
§RemoveReportUpdated: unsafe extern "system" fn(_: *mut c_void, _: EventRegistrationToken) -> HRESULT
Auto Trait Implementations§
impl Freeze for IBattery_Vtbl
impl RefUnwindSafe for IBattery_Vtbl
impl Send for IBattery_Vtbl
impl Sync for IBattery_Vtbl
impl Unpin for IBattery_Vtbl
impl UnwindSafe for IBattery_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