Trait ddc::Edid [] [src]

pub trait Edid {
    type EdidError;
    fn read_edid(
        &mut self,
        offset: u8,
        data: &mut [u8]
    ) -> Result<usize, Self::EdidError>; }

A trait that allows retrieving Extended Display Identification Data (EDID) from a device.

Associated Types

An error that can occur when reading the EDID from a device.

Required Methods

Read up to 256 bytes of the monitor's EDID.

Implementors