#[non_exhaustive]pub struct ScramblerStatus {
pub scrambling_active: bool,
pub raw: u8,
}Expand description
Decoded content of Scrambler_Status (0x21), with the byte it was decoded from, so a
sink that reports reserved bits or noise beside the status bit stays visible.
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.scrambling_active: boolThe sink confirms that TMDS scrambling is active.
raw: u8The byte as read, reserved bits included.
Implementations§
Source§impl ScramblerStatus
impl ScramblerStatus
Sourcepub fn new(scrambling_active: bool) -> ScramblerStatus
pub fn new(scrambling_active: bool) -> ScramblerStatus
Constructs a ScramblerStatus, with raw the byte holding that bit alone.
Trait Implementations§
Source§impl Clone for ScramblerStatus
impl Clone for ScramblerStatus
Source§fn clone(&self) -> ScramblerStatus
fn clone(&self) -> ScramblerStatus
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 ScramblerStatus
Source§impl Debug for ScramblerStatus
impl Debug for ScramblerStatus
impl Eq for ScramblerStatus
Source§impl PartialEq for ScramblerStatus
impl PartialEq for ScramblerStatus
impl StructuralPartialEq for ScramblerStatus
Auto Trait Implementations§
impl Forget for ScramblerStatus
impl Freeze for ScramblerStatus
impl Move for ScramblerStatus
impl RefUnwindSafe for ScramblerStatus
impl Send for ScramblerStatus
impl Sync for ScramblerStatus
impl Unpin for ScramblerStatus
impl UnsafeUnpin for ScramblerStatus
impl UnwindSafe for ScramblerStatus
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