Struct ddc_hi::Display
[−]
[src]
pub struct Display {
pub handle: Handle,
pub info: DisplayInfo,
// some fields omitted
}An active handle to a connected display.
Fields
handle: Handle
The inner communication handle used for DDC commands.
info: DisplayInfo
Information about the connected display.
Methods
impl Display[src]
pub fn new(handle: Handle, info: DisplayInfo) -> Self[src]
Create a new display from the specified handle.
pub fn enumerate() -> Vec<Self>[src]
Enumerate all detected displays.
pub fn update_capabilities(&mut self) -> Result<(), Error>[src]
Updates the display info with data retrieved from the device's reported capabilities.
pub fn update_from_ddc(&mut self) -> Result<(), Error>[src]
Update some display info.