pub struct CaptionWindow {
pub id: u8,
pub visible: bool,
pub row_count: u8,
pub col_count: u8,
pub text: String,
pub pen_row: u8,
pub pen_col: u8,
}Expand description
A CEA-708 caption window.
Fields§
§id: u8Window identifier (0-7).
visible: boolWhether this window is currently visible.
row_count: u8Number of rows in the window (1-15).
col_count: u8Number of columns in the window (1-63).
text: StringText content of the window.
pen_row: u8Current pen row (0-based).
pen_col: u8Current pen column (0-based).
Implementations§
Trait Implementations§
Source§impl Clone for CaptionWindow
impl Clone for CaptionWindow
Source§fn clone(&self) -> CaptionWindow
fn clone(&self) -> CaptionWindow
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 moreSource§impl Debug for CaptionWindow
impl Debug for CaptionWindow
Source§impl Default for CaptionWindow
impl Default for CaptionWindow
Source§impl PartialEq for CaptionWindow
impl PartialEq for CaptionWindow
Source§fn eq(&self, other: &CaptionWindow) -> bool
fn eq(&self, other: &CaptionWindow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CaptionWindow
Auto Trait Implementations§
impl Freeze for CaptionWindow
impl RefUnwindSafe for CaptionWindow
impl Send for CaptionWindow
impl Sync for CaptionWindow
impl Unpin for CaptionWindow
impl UnsafeUnpin for CaptionWindow
impl UnwindSafe for CaptionWindow
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
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>
Converts
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>
Converts
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