#[non_exhaustive]pub enum Cea608Channel {
Cc1,
Cc2,
Cc3,
Cc4,
}Available on crate feature
decode only.Expand description
A line-21 caption data channel (Table 1, §4.1): the eight CC/Text logical services keyed by field + data-channel.
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.
Cc1
CC1 — field 1, data channel 1 (primary).
Cc2
CC2 — field 1, data channel 2.
Cc3
CC3 — field 2, data channel 1 (secondary).
Cc4
CC4 — field 2, data channel 2.
Implementations§
Trait Implementations§
Source§impl Clone for Cea608Channel
impl Clone for Cea608Channel
impl Copy for Cea608Channel
Source§impl Debug for Cea608Channel
impl Debug for Cea608Channel
Source§impl Display for Cea608Channel
impl Display for Cea608Channel
impl Eq for Cea608Channel
Source§impl Hash for Cea608Channel
impl Hash for Cea608Channel
Source§impl Ord for Cea608Channel
impl Ord for Cea608Channel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for Cea608Channel
impl PartialEq for Cea608Channel
Source§impl PartialOrd for Cea608Channel
impl PartialOrd for Cea608Channel
Source§impl Serialize for Cea608Channel
impl Serialize for Cea608Channel
impl StructuralPartialEq for Cea608Channel
Auto Trait Implementations§
impl Forget for Cea608Channel
impl Freeze for Cea608Channel
impl RefUnwindSafe for Cea608Channel
impl Send for Cea608Channel
impl Sync for Cea608Channel
impl Unpin for Cea608Channel
impl UnsafeUnpin for Cea608Channel
impl UnwindSafe for Cea608Channel
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