#[repr(u8)]pub enum DpmsState {
On = 0,
Standby = 1,
Suspend = 2,
Off = 3,
}Expand description
Display power management states per VESA DPMS specification.
Variants§
On = 0
Display fully on (H-sync: on, V-sync: on).
Standby = 1
Standby mode (H-sync: off, V-sync: on). Quick wake-up.
Suspend = 2
Suspend mode (H-sync: on, V-sync: off). Moderate wake-up.
Off = 3
Off (H-sync: off, V-sync: off). Longest wake-up.
Trait Implementations§
impl Copy for DpmsState
impl Eq for DpmsState
impl StructuralPartialEq for DpmsState
Auto Trait Implementations§
impl Freeze for DpmsState
impl RefUnwindSafe for DpmsState
impl Send for DpmsState
impl Sync for DpmsState
impl Unpin for DpmsState
impl UnwindSafe for DpmsState
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)