Struct ddc_hi::DisplayInfo [−][src]
pub struct DisplayInfo {Show 13 fields
pub backend: Backend,
pub id: String,
pub manufacturer_id: Option<String>,
pub model_id: Option<u16>,
pub version: Option<(u8, u8)>,
pub serial: Option<u32>,
pub manufacture_year: Option<u8>,
pub manufacture_week: Option<u8>,
pub model_name: Option<String>,
pub serial_number: Option<String>,
pub edid_data: Option<Vec<u8>>,
pub mccs_version: Option<Version>,
pub mccs_database: Database,
}
Expand description
Identifying information about an attached display.
Not all information will be available, particularly on backends like WinAPI that do not support EDID.
Fields
backend: Backend
Identifies the backend or driver used to communicate with the display.
id: String
A unique identifier for the display, format is specific to the backend.
manufacturer_id: Option<String>
A three-character identifier of the manufacturer of the display.
model_id: Option<u16>
A number that identifies the product model.
version: Option<(u8, u8)>
The version and revision of the product.
serial: Option<u32>
Serial number of the device
manufacture_year: Option<u8>
Year the display was manufactured.
manufacture_week: Option<u8>
Week the display was manufactured.
model_name: Option<String>
The model name of the display.
serial_number: Option<String>
Human-readable serial number of the device.
edid_data: Option<Vec<u8>>
Raw EDID data provided by the display.
mccs_version: Option<Version>
MCCS VCP version code.
mccs_database: Database
MCCS VCP feature information.
Implementations
Creates a new DisplayInfo
from unparsed EDID data.
May fail to parse the EDID data.
Create a new DisplayInfo
from parsed capabilities.
Merge in any missing information from another DisplayInfo
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for DisplayInfo
impl Send for DisplayInfo
impl Sync for DisplayInfo
impl Unpin for DisplayInfo
impl UnwindSafe for DisplayInfo
Blanket Implementations
Mutably borrows from an owned value. Read more