Struct windows::System::PowerState
#[repr(transparent)]pub struct PowerState(pub i32);
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
§fn clone(&self) -> PowerState
fn clone(&self) -> PowerState
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 more§impl Debug for PowerState
impl Debug for PowerState
§impl Default for PowerState
impl Default for PowerState
§fn default() -> PowerState
fn default() -> PowerState
Returns the “default value” for a type. Read more
§impl PartialEq for PowerState
impl PartialEq for PowerState
§fn eq(&self, other: &PowerState) -> bool
fn eq(&self, other: &PowerState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for PowerState
impl Eq for PowerState
impl StructuralPartialEq for PowerState
Auto Trait Implementations§
impl Freeze for PowerState
impl RefUnwindSafe for PowerState
impl Send for PowerState
impl Sync for PowerState
impl Unpin for PowerState
impl UnwindSafe for PowerState
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)