pub struct EdidRecord {
pub output: bool,
pub data: Vec<u8>,
}Expand description
One EDID block from a DEV_EDID reply.
A reply carries one record per bay mode, so a combined reply produces two.
Fields§
§output: boolTrue for a sink’s EDID, false for a source’s.
data: Vec<u8>A 256-byte EDID: a base block plus exactly one extension block. A display publishing further extension blocks yields only the first.
Trait Implementations§
Source§impl Clone for EdidRecord
impl Clone for EdidRecord
Source§fn clone(&self) -> EdidRecord
fn clone(&self) -> EdidRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for EdidRecord
impl Debug for EdidRecord
Source§impl Default for EdidRecord
impl Default for EdidRecord
Source§fn default() -> EdidRecord
fn default() -> EdidRecord
Returns the “default value” for a type. Read more
impl Eq for EdidRecord
Source§impl PartialEq for EdidRecord
impl PartialEq for EdidRecord
impl StructuralPartialEq for EdidRecord
Auto Trait Implementations§
impl Freeze for EdidRecord
impl RefUnwindSafe for EdidRecord
impl Send for EdidRecord
impl Sync for EdidRecord
impl Unpin for EdidRecord
impl UnsafeUnpin for EdidRecord
impl UnwindSafe for EdidRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more