pub enum MonitorDescriptor {
SerialNumber(String),
OtherString(String),
RangeLimits {
vertical_rate: (u8, u8),
horizontal_rate: (u32, u32),
pixel_clock: u32,
secondary_timing: SecondaryTiming,
},
MonitorName(String),
Undefined(u8, [u8; 13]),
ManufacturerDefined(u8, [u8; 13]),
}Expand description
One piece of additional monitor information.
Variants§
SerialNumber(String)
OtherString(String)
RangeLimits
Fields
§
secondary_timing: SecondaryTimingSeconday timing information.
MonitorName(String)
Undefined(u8, [u8; 13])
ManufacturerDefined(u8, [u8; 13])
Trait Implementations§
Source§impl Clone for MonitorDescriptor
impl Clone for MonitorDescriptor
Source§fn clone(&self) -> MonitorDescriptor
fn clone(&self) -> MonitorDescriptor
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for MonitorDescriptor
impl RefUnwindSafe for MonitorDescriptor
impl Send for MonitorDescriptor
impl Sync for MonitorDescriptor
impl Unpin for MonitorDescriptor
impl UnwindSafe for MonitorDescriptor
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