#[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
)