Struct windows_sys::System::Power::PowerSupplyStatus
[−]#[repr(transparent)]pub struct PowerSupplyStatus(pub i32);
Expand description
Required features: "System_Power"
Tuple Fields
0: i32
Implementations
impl PowerSupplyStatus
impl PowerSupplyStatus
pub const NotPresent: Self = Self(0i32)
pub const Inadequate: Self = Self(1i32)
pub const Adequate: Self = Self(2i32)
Trait Implementations
impl Clone for PowerSupplyStatus
impl Clone for PowerSupplyStatus
impl Copy for PowerSupplyStatus
Auto Trait Implementations
impl RefUnwindSafe for PowerSupplyStatus
impl Send for PowerSupplyStatus
impl Sync for PowerSupplyStatus
impl Unpin for PowerSupplyStatus
impl UnwindSafe for PowerSupplyStatus
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more