#[repr(u32)]pub enum DpmsMode {
On = 0,
Standby = 1,
Suspend = 2,
Off = 3,
}
Variants§
Trait Implementations§
source§impl Ord for DpmsMode
impl Ord for DpmsMode
source§impl PartialEq for DpmsMode
impl PartialEq for DpmsMode
source§impl PartialOrd for DpmsMode
impl PartialOrd for DpmsMode
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for DpmsMode
impl Eq for DpmsMode
impl StructuralPartialEq for DpmsMode
Auto Trait Implementations§
impl Freeze for DpmsMode
impl RefUnwindSafe for DpmsMode
impl Send for DpmsMode
impl Sync for DpmsMode
impl Unpin for DpmsMode
impl UnwindSafe for DpmsMode
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