#[repr(i32)]pub enum _DEVICE_POWER_STATE {
PowerDeviceUnspecified = 0,
PowerDeviceD0 = 1,
PowerDeviceD1 = 2,
PowerDeviceD2 = 3,
PowerDeviceD3 = 4,
PowerDeviceMaximum = 5,
}Variants§
PowerDeviceUnspecified = 0
PowerDeviceD0 = 1
PowerDeviceD1 = 2
PowerDeviceD2 = 3
PowerDeviceD3 = 4
PowerDeviceMaximum = 5
Trait Implementations§
Source§impl Clone for _DEVICE_POWER_STATE
impl Clone for _DEVICE_POWER_STATE
Source§fn clone(&self) -> _DEVICE_POWER_STATE
fn clone(&self) -> _DEVICE_POWER_STATE
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 _DEVICE_POWER_STATE
impl Debug for _DEVICE_POWER_STATE
Source§impl Hash for _DEVICE_POWER_STATE
impl Hash for _DEVICE_POWER_STATE
Source§impl PartialEq for _DEVICE_POWER_STATE
impl PartialEq for _DEVICE_POWER_STATE
impl Copy for _DEVICE_POWER_STATE
impl Eq for _DEVICE_POWER_STATE
impl StructuralPartialEq for _DEVICE_POWER_STATE
Auto Trait Implementations§
impl Freeze for _DEVICE_POWER_STATE
impl RefUnwindSafe for _DEVICE_POWER_STATE
impl Send for _DEVICE_POWER_STATE
impl Sync for _DEVICE_POWER_STATE
impl Unpin for _DEVICE_POWER_STATE
impl UnwindSafe for _DEVICE_POWER_STATE
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