#[repr(C)]pub struct BATTERY_REPORTING_SCALE {
pub Granularity: DWORD,
pub Capacity: DWORD,
}
Fields§
§Granularity: DWORD
§Capacity: DWORD
Trait Implementations§
Source§impl Clone for BATTERY_REPORTING_SCALE
impl Clone for BATTERY_REPORTING_SCALE
Source§fn clone(&self) -> BATTERY_REPORTING_SCALE
fn clone(&self) -> BATTERY_REPORTING_SCALE
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for BATTERY_REPORTING_SCALE
impl Debug for BATTERY_REPORTING_SCALE
Source§impl Ord for BATTERY_REPORTING_SCALE
impl Ord for BATTERY_REPORTING_SCALE
Source§fn cmp(&self, other: &BATTERY_REPORTING_SCALE) -> Ordering
fn cmp(&self, other: &BATTERY_REPORTING_SCALE) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for BATTERY_REPORTING_SCALE
impl PartialEq for BATTERY_REPORTING_SCALE
Source§impl PartialOrd for BATTERY_REPORTING_SCALE
impl PartialOrd for BATTERY_REPORTING_SCALE
impl Copy for BATTERY_REPORTING_SCALE
impl Eq for BATTERY_REPORTING_SCALE
impl StructuralPartialEq for BATTERY_REPORTING_SCALE
Auto Trait Implementations§
impl Freeze for BATTERY_REPORTING_SCALE
impl RefUnwindSafe for BATTERY_REPORTING_SCALE
impl Send for BATTERY_REPORTING_SCALE
impl Sync for BATTERY_REPORTING_SCALE
impl Unpin for BATTERY_REPORTING_SCALE
impl UnwindSafe for BATTERY_REPORTING_SCALE
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