pub struct DigitalServiceEntry { /* private fields */ }
Expand description
A service entry for digital closed captions, i.e. CEA-708 captions.
Implementations§
Source§impl DigitalServiceEntry
impl DigitalServiceEntry
Sourcepub fn new(service: u8, easy_reader: bool, wide_aspect_ratio: bool) -> Self
pub fn new(service: u8, easy_reader: bool, wide_aspect_ratio: bool) -> Self
Construct a new DigitalServiceEntry
Sourcepub fn service_no(&self) -> u8
pub fn service_no(&self) -> u8
The service number of this entry.
Sourcepub fn easy_reader(&self) -> bool
pub fn easy_reader(&self) -> bool
Whether this service is an easy reader type.
Sourcepub fn wide_aspect_ratio(&self) -> bool
pub fn wide_aspect_ratio(&self) -> bool
Whether a wide aspect ratio (16:9) is being used here or not (4:3).
Trait Implementations§
Source§impl Clone for DigitalServiceEntry
impl Clone for DigitalServiceEntry
Source§fn clone(&self) -> DigitalServiceEntry
fn clone(&self) -> DigitalServiceEntry
Returns a copy of the value. Read more
1.0.0 · 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 DigitalServiceEntry
impl Debug for DigitalServiceEntry
Source§impl PartialEq for DigitalServiceEntry
impl PartialEq for DigitalServiceEntry
impl Copy for DigitalServiceEntry
impl Eq for DigitalServiceEntry
impl StructuralPartialEq for DigitalServiceEntry
Auto Trait Implementations§
impl Freeze for DigitalServiceEntry
impl RefUnwindSafe for DigitalServiceEntry
impl Send for DigitalServiceEntry
impl Sync for DigitalServiceEntry
impl Unpin for DigitalServiceEntry
impl UnwindSafe for DigitalServiceEntry
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