pub enum Dtvcc708Command {
}Expand description
CEA-708 DTVCC command decoded from a packet.
Variants§
SetCurrentWindow(u8)
Set the current active window (window id 0-7).
DeleteWindows(u8)
Delete windows specified by the bitmask.
DisplayWindows(u8)
Make windows specified by the bitmask visible.
ClearWindows(u8)
Clear (erase) text from windows specified by the bitmask.
HideWindows(u8)
Hide windows specified by the bitmask (but retain text).
SetWindowAttributes
Set window display attributes (parameters consumed but not fully decoded).
SetPenAttributes
Set pen text attributes (parameters consumed but not fully decoded).
SetPenColor
Set pen foreground/background color (parameters consumed but not fully decoded).
SetPenLocation
Move the pen to the specified row and column.
Text(String)
Printable text accumulated from 0x20-0x7F bytes.
Backspace
Backspace — delete last character in current window.
FormFeed
Form feed / clear screen for current window.
CarriageReturn
Carriage return — move to next line.
Unknown(u8)
An unrecognized command byte.
Trait Implementations§
Source§impl Clone for Dtvcc708Command
impl Clone for Dtvcc708Command
Source§fn clone(&self) -> Dtvcc708Command
fn clone(&self) -> Dtvcc708Command
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for Dtvcc708Command
impl Debug for Dtvcc708Command
Source§impl PartialEq for Dtvcc708Command
impl PartialEq for Dtvcc708Command
Source§fn eq(&self, other: &Dtvcc708Command) -> bool
fn eq(&self, other: &Dtvcc708Command) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Dtvcc708Command
Auto Trait Implementations§
impl Freeze for Dtvcc708Command
impl RefUnwindSafe for Dtvcc708Command
impl Send for Dtvcc708Command
impl Sync for Dtvcc708Command
impl Unpin for Dtvcc708Command
impl UnsafeUnpin for Dtvcc708Command
impl UnwindSafe for Dtvcc708Command
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more