pub struct Dtvcc708Packet {
pub sequence: u8,
pub data: Vec<u8>,
}Expand description
A raw DTVCC packet from the transport layer.
Fields§
§sequence: u8Sequence counter (0-3, wraps around).
data: Vec<u8>Raw packet payload bytes.
Implementations§
Trait Implementations§
Source§impl Clone for Dtvcc708Packet
impl Clone for Dtvcc708Packet
Source§fn clone(&self) -> Dtvcc708Packet
fn clone(&self) -> Dtvcc708Packet
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 Dtvcc708Packet
impl Debug for Dtvcc708Packet
Source§impl PartialEq for Dtvcc708Packet
impl PartialEq for Dtvcc708Packet
Source§fn eq(&self, other: &Dtvcc708Packet) -> bool
fn eq(&self, other: &Dtvcc708Packet) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for Dtvcc708Packet
Auto Trait Implementations§
impl Freeze for Dtvcc708Packet
impl RefUnwindSafe for Dtvcc708Packet
impl Send for Dtvcc708Packet
impl Sync for Dtvcc708Packet
impl Unpin for Dtvcc708Packet
impl UnsafeUnpin for Dtvcc708Packet
impl UnwindSafe for Dtvcc708Packet
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