Crate mccs_db

source ·
Expand description

Monitor Command Control Set VCP feature code meanings and data interpretation.

Example

use mccs_db::Database;

// Read the capabilities from an external source, such as a monitor over DDC.
let caps = mccs_caps::parse_capabilities(read_display_capability_string()).unwrap();

// Load the MCCS version spec and filter by the monitor's capabilities
let mut db = Database::from_version(caps.mccs_version.as_ref().unwrap());
db.apply_capabilities(&caps);

println!("Display Capabilities: {:#?}", db);

Structs

Describes all the VCP feature codes supported by an MCCS specification or display.
Describes a VCP feature code’s functionality and value format.

Enums

The operations allowed on a given VCP feature code.
Describes how to interpret a table’s raw value.
Describes how to interpret a value’s raw value.
Describes the type of a VCP value and how to interpret it.