#[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 PartialOrd for DpmsMode
impl PartialOrd for DpmsMode
impl 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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
)