pub struct Capabilities {
pub protocol: Option<Protocol>,
pub ty: Option<Type>,
pub model: Option<String>,
pub commands: Vec<u8>,
pub ms_whql: Option<u8>,
pub mccs_version: Option<Version>,
pub vcp_features: BTreeMap<FeatureCode, VcpDescriptor>,
pub edid: Option<EdidData>,
pub vdif: Vec<VdifData>,
pub unknown_tags: Vec<UnknownTag>,
}Expand description
Parsed display capabilities string.
Fields§
§protocol: Option<Protocol>The protocol class.
It’s not very clear what this field is for.
ty: Option<Type>The type of display.
model: Option<String>The model name/number of the display.
commands: Vec<u8>A list of the supported VCP commands.
ms_whql: Option<u8>A value of 1 seems to indicate that the monitor has passed Microsoft’s
Windows Hardware Quality Labs testing.
mccs_version: Option<Version>Monitor Command Control Set version code.
vcp_features: BTreeMap<FeatureCode, VcpDescriptor>Virtual Control Panel feature code descriptors.
edid: Option<EdidData>Extended Display Identification Data
Note that although the standard defines this field, in practice it is not used and instead the EDID is read from a separate I2C EEPROM on the monitor.
vdif: Vec<VdifData>Video Display Information Format are optional extension blocks for the EDID. Like the EDID field, this is probably not in use.
Additional unrecognized data from the capability string.
Trait Implementations§
Source§impl Clone for Capabilities
impl Clone for Capabilities
Source§fn clone(&self) -> Capabilities
fn clone(&self) -> Capabilities
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more