#[non_exhaustive]pub enum Cea608Mode {
None,
PopOn,
RollUp(u8),
PaintOn,
Text,
}Available on crate feature
decode only.Expand description
The caption mode (§6.1, §7).
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.
None
No mode selected yet.
PopOn
Pop-on (RCL → load to back buffer → EOC flips).
RollUp(u8)
Roll-up with the given number of rows (2/3/4).
PaintOn
Paint-on (RDC → paint to displayed memory).
Text
Text mode (TR/RTD).
Implementations§
Trait Implementations§
Source§impl Clone for Cea608Mode
impl Clone for Cea608Mode
Source§fn clone(&self) -> Cea608Mode
fn clone(&self) -> Cea608Mode
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 Cea608Mode
Source§impl Debug for Cea608Mode
impl Debug for Cea608Mode
Source§impl Default for Cea608Mode
impl Default for Cea608Mode
Source§fn default() -> Cea608Mode
fn default() -> Cea608Mode
Returns the “default value” for a type. Read more
Source§impl Display for Cea608Mode
impl Display for Cea608Mode
impl Eq for Cea608Mode
Source§impl PartialEq for Cea608Mode
impl PartialEq for Cea608Mode
Source§fn eq(&self, other: &Cea608Mode) -> bool
fn eq(&self, other: &Cea608Mode) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for Cea608Mode
impl Serialize for Cea608Mode
impl StructuralPartialEq for Cea608Mode
Auto Trait Implementations§
impl Freeze for Cea608Mode
impl RefUnwindSafe for Cea608Mode
impl Send for Cea608Mode
impl Sync for Cea608Mode
impl Unpin for Cea608Mode
impl UnsafeUnpin for Cea608Mode
impl UnwindSafe for Cea608Mode
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