#[non_exhaustive]pub struct TmdsConfigReading {
pub config: SinkTmdsConfig,
pub raw: u8,
}Expand description
What a read of the sink’s TMDS_Config returned: the two fields the SCDC
implementation decoded, and the byte as read, reserved bits included, so a sink that
sets them stays visible to a diagnostic tool.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.config: SinkTmdsConfigThe two fields.
raw: u8The byte as read.
Implementations§
Source§impl TmdsConfigReading
impl TmdsConfigReading
Sourcepub const fn new(config: SinkTmdsConfig, raw: u8) -> TmdsConfigReading
pub const fn new(config: SinkTmdsConfig, raw: u8) -> TmdsConfigReading
The fields an SCDC implementation decoded from raw, the byte it read.
Trait Implementations§
Source§impl Clone for TmdsConfigReading
impl Clone for TmdsConfigReading
Source§fn clone(&self) -> TmdsConfigReading
fn clone(&self) -> TmdsConfigReading
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 moreimpl Copy for TmdsConfigReading
Source§impl Debug for TmdsConfigReading
impl Debug for TmdsConfigReading
impl Eq for TmdsConfigReading
Source§impl Hash for TmdsConfigReading
impl Hash for TmdsConfigReading
Source§impl PartialEq for TmdsConfigReading
impl PartialEq for TmdsConfigReading
impl StructuralPartialEq for TmdsConfigReading
Auto Trait Implementations§
impl Forget for TmdsConfigReading
impl Freeze for TmdsConfigReading
impl Move for TmdsConfigReading
impl RefUnwindSafe for TmdsConfigReading
impl Send for TmdsConfigReading
impl Sync for TmdsConfigReading
impl Unpin for TmdsConfigReading
impl UnsafeUnpin for TmdsConfigReading
impl UnwindSafe for TmdsConfigReading
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