pub struct CTA<'ext> { /* private fields */ }Expand description
EDID CTA-861 extension block.
Implementations§
Source§impl<'ext> CTA<'ext>
impl<'ext> CTA<'ext>
Sourcepub fn from_extension(extensions: &'ext ExtensionRef) -> Option<CTA<'ext>>
pub fn from_extension(extensions: &'ext ExtensionRef) -> Option<CTA<'ext>>
Get a CTA-861 extension block.
Returns None if the extension block tag is not CEA.
Sourcepub fn revision(&self) -> i32
pub fn revision(&self) -> i32
Get the CTA extension revision (also referred to as `version`` by the specification).
Sourcepub fn data_blocks(&self) -> &[DataBlockRef]
pub fn data_blocks(&self) -> &[DataBlockRef]
Get CTA data blocks.
Sourcepub fn detailed_timing_defs(&self) -> impl Iterator<Item = DetailedTimingDef>
pub fn detailed_timing_defs(&self) -> impl Iterator<Item = DetailedTimingDef>
Get a list of EDID detailed timing definitions.
Trait Implementations§
Auto Trait Implementations§
impl<'ext> Freeze for CTA<'ext>
impl<'ext> RefUnwindSafe for CTA<'ext>
impl<'ext> !Send for CTA<'ext>
impl<'ext> !Sync for CTA<'ext>
impl<'ext> Unpin for CTA<'ext>
impl<'ext> UnwindSafe for CTA<'ext>
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