#[non_exhaustive]pub struct CedCounters {
pub lane0: Option<CedCount>,
pub lane1: Option<CedCount>,
pub lane2: Option<CedCount>,
pub lane3: Option<CedCount>,
}Expand description
Per-lane character error counts, for diagnostics; the training procedure does not consume them.
A lane’s counter is None when its validity bit is not set. lane3 is only
populated in 4-lane FRL mode. Mirrors culvert’s CedCounters; build one with
new.
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.lane0: Option<CedCount>Character error count for lane 0, or None if the validity bit is not set.
lane1: Option<CedCount>Character error count for lane 1, or None if the validity bit is not set.
lane2: Option<CedCount>Character error count for lane 2, or None if the validity bit is not set.
lane3: Option<CedCount>Character error count for lane 3, or None if the validity bit is not set.
Always None in TMDS mode or 3-lane FRL mode.
Implementations§
Trait Implementations§
Source§impl Clone for CedCounters
impl Clone for CedCounters
Source§fn clone(&self) -> CedCounters
fn clone(&self) -> CedCounters
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 CedCounters
Source§impl Debug for CedCounters
impl Debug for CedCounters
impl Eq for CedCounters
Source§impl PartialEq for CedCounters
impl PartialEq for CedCounters
impl StructuralPartialEq for CedCounters
Auto Trait Implementations§
impl Freeze for CedCounters
impl RefUnwindSafe for CedCounters
impl Send for CedCounters
impl Sync for CedCounters
impl Unpin for CedCounters
impl UnsafeUnpin for CedCounters
impl UnwindSafe for CedCounters
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