Struct windows_sys::System::PowerState
[−]#[repr(transparent)]pub struct PowerState(pub i32);
Expand description
Required features: "System"
Tuple Fields
0: i32
Implementations
impl PowerState
impl PowerState
pub const ConnectedStandby: Self = Self(0i32)
pub const SleepS3: Self = Self(1i32)
Trait Implementations
impl Clone for PowerState
impl Clone for PowerState
impl Copy for PowerState
Auto Trait Implementations
impl RefUnwindSafe for PowerState
impl Send for PowerState
impl Sync for PowerState
impl Unpin for PowerState
impl UnwindSafe for PowerState
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