#[non_exhaustive]#[repr(i32)]pub enum _POWER_STATE_TYPE {
SystemPowerState = 0,
DevicePowerState = 1,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for _POWER_STATE_TYPE
impl Clone for _POWER_STATE_TYPE
Source§fn clone(&self) -> _POWER_STATE_TYPE
fn clone(&self) -> _POWER_STATE_TYPE
Returns a duplicate 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 _POWER_STATE_TYPE
impl Debug for _POWER_STATE_TYPE
Source§impl Hash for _POWER_STATE_TYPE
impl Hash for _POWER_STATE_TYPE
Source§impl PartialEq for _POWER_STATE_TYPE
impl PartialEq for _POWER_STATE_TYPE
impl Copy for _POWER_STATE_TYPE
impl Eq for _POWER_STATE_TYPE
impl StructuralPartialEq for _POWER_STATE_TYPE
Auto Trait Implementations§
impl Freeze for _POWER_STATE_TYPE
impl RefUnwindSafe for _POWER_STATE_TYPE
impl Send for _POWER_STATE_TYPE
impl Sync for _POWER_STATE_TYPE
impl Unpin for _POWER_STATE_TYPE
impl UnwindSafe for _POWER_STATE_TYPE
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