#[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
Source§fn clone(&self) -> Cea608Channel
fn clone(&self) -> Cea608Channel
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 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 PartialEq for Cea608Channel
impl PartialEq for Cea608Channel
Source§fn eq(&self, other: &Cea608Channel) -> bool
fn eq(&self, other: &Cea608Channel) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Cea608Channel
impl Serialize for Cea608Channel
impl StructuralPartialEq for Cea608Channel
Auto Trait Implementations§
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