#[non_exhaustive]pub enum VideoInterface {
Dvi,
HdmiA,
HdmiB,
Mddi,
DisplayPort,
}Expand description
Video interface type, decoded from EDID base block byte 0x14 bits 3–0.
Only valid for digital input displays. None is used for the undefined (0x0)
and reserved (0x6–0xF) values.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Dvi
DVI interface.
HdmiA
HDMI-a interface.
HdmiB
HDMI-b interface.
Mddi
MDDI (Mobile Display Digital Interface).
DisplayPort
DisplayPort interface.
Trait Implementations§
Source§impl Clone for VideoInterface
impl Clone for VideoInterface
Source§fn clone(&self) -> VideoInterface
fn clone(&self) -> VideoInterface
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 moreSource§impl Debug for VideoInterface
impl Debug for VideoInterface
Source§impl PartialEq for VideoInterface
impl PartialEq for VideoInterface
impl Copy for VideoInterface
impl Eq for VideoInterface
impl StructuralPartialEq for VideoInterface
Auto Trait Implementations§
impl Freeze for VideoInterface
impl RefUnwindSafe for VideoInterface
impl Send for VideoInterface
impl Sync for VideoInterface
impl Unpin for VideoInterface
impl UnsafeUnpin for VideoInterface
impl UnwindSafe for VideoInterface
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