#[non_exhaustive]pub enum CcType {
Ntsc608Field1,
Ntsc608Field2,
Dtvcc708Data,
Dtvcc708Start,
}Expand description
cc_type — the type of the caption data byte pair (TS 101 154 Table B.9 /
CEA-708-E). 2-bit field.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Ntsc608Field1
CEA-608 NTSC line-21 field 1 (cc_type 0).
Ntsc608Field2
CEA-608 NTSC line-21 field 2 (cc_type 1).
Dtvcc708Data
DTVCC (CEA-708) channel-packet data (cc_type 2).
Dtvcc708Start
DTVCC (CEA-708) channel-packet start (cc_type 3).
Implementations§
Trait Implementations§
impl Copy for CcType
impl Eq for CcType
impl StructuralPartialEq for CcType
Auto Trait Implementations§
impl Freeze for CcType
impl RefUnwindSafe for CcType
impl Send for CcType
impl Sync for CcType
impl Unpin for CcType
impl UnsafeUnpin for CcType
impl UnwindSafe for CcType
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