Struct windows::Devices::Power::IBatteryReport_Vtbl
#[repr(C)]pub struct IBatteryReport_Vtbl {
pub base__: IInspectable_Vtbl,
pub ChargeRateInMilliwatts: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub DesignCapacityInMilliwattHours: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub FullChargeCapacityInMilliwattHours: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub RemainingCapacityInMilliwattHours: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT,
pub Status: unsafe extern "system" fn(_: *mut c_void, _: *mut BatteryStatus) -> HRESULT,
}
Fields§
§base__: IInspectable_Vtbl
§ChargeRateInMilliwatts: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§DesignCapacityInMilliwattHours: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§FullChargeCapacityInMilliwattHours: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§RemainingCapacityInMilliwattHours: unsafe extern "system" fn(_: *mut c_void, _: *mut *mut c_void) -> HRESULT
§Status: unsafe extern "system" fn(_: *mut c_void, _: *mut BatteryStatus) -> HRESULT
Auto Trait Implementations§
impl Freeze for IBatteryReport_Vtbl
impl RefUnwindSafe for IBatteryReport_Vtbl
impl Send for IBatteryReport_Vtbl
impl Sync for IBatteryReport_Vtbl
impl Unpin for IBatteryReport_Vtbl
impl UnwindSafe for IBatteryReport_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