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
pub const SleepS3: Self
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 · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more