pub struct Dpms {
pub standby: bool,
pub suspend: bool,
pub off: bool,
}Expand description
Supported legacy Display Power Management Signaling (DPMS) states, defined in section 3.6.4.
Display Power Management (DPM) compliant displays only support "off".“]
Fields§
§standby: bool§suspend: bool§off: boolTrait Implementations§
Source§impl From<di_edid_dpms> for Dpms
impl From<di_edid_dpms> for Dpms
Source§fn from(value: di_edid_dpms) -> Dpms
fn from(value: di_edid_dpms) -> Dpms
Converts to this type from the input type.
impl Copy for Dpms
Auto Trait Implementations§
impl Freeze for Dpms
impl RefUnwindSafe for Dpms
impl Send for Dpms
impl Sync for Dpms
impl Unpin for Dpms
impl UnwindSafe for Dpms
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