pub struct LineHeader {
pub field_parity: bool,
pub line_offset: u8,
}Expand description
The shared first byte of the Teletext / VPS / WSS / CC data fields:
a fixed reserved_future_use = 11 prefix, then field_parity and a 5-bit
line_offset (ETSI EN 301 775 §4.5.1 et al.).
Fields§
§field_parity: boolfield_parity (1 bit): 1 = first field of a frame, 0 = second field.
line_offset: u8line_offset (5 bits): the VBI line, coded per the unit’s line_offset
table. Range 0..=31.
Implementations§
Trait Implementations§
Source§impl Clone for LineHeader
impl Clone for LineHeader
Source§fn clone(&self) -> LineHeader
fn clone(&self) -> LineHeader
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 LineHeader
Source§impl Debug for LineHeader
impl Debug for LineHeader
impl Eq for LineHeader
Source§impl Hash for LineHeader
impl Hash for LineHeader
Source§impl PartialEq for LineHeader
impl PartialEq for LineHeader
Source§impl Serialize for LineHeader
Available on crate feature serde only.
impl Serialize for LineHeader
Available on crate feature
serde only.impl StructuralPartialEq for LineHeader
Auto Trait Implementations§
impl Freeze for LineHeader
impl RefUnwindSafe for LineHeader
impl Send for LineHeader
impl Sync for LineHeader
impl Unpin for LineHeader
impl UnsafeUnpin for LineHeader
impl UnwindSafe for LineHeader
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