pub struct ProgramPacketSequenceCounter {
pub counter: u8,
pub mpeg1_mpeg2_identifier: bool,
pub original_stuff_length: u8,
}Expand description
program_packet_sequence_counter group (Table 2-17, concluded) — an
optional 7-bit per-program PES packet counter providing continuity-
counter-like functionality across a Program Stream or ISO/IEC
11172-1 stream carried in PES packets (§2.4.3.7).
Fields§
§counter: u87-bit counter; wraps to 0 past its maximum. No two consecutive PES packets in the program multiplex may carry the same value.
mpeg1_mpeg2_identifier: boolMPEG1_MPEG2_identifier — true when this PES packet carries
information from an ISO/IEC 11172-1 stream, false for a
Program Stream.
original_stuff_length: u86-bit original_stuff_length — number of stuffing bytes used
in the original PES packet header (or original ISO/IEC 11172-1
packet header).
Trait Implementations§
Source§impl Clone for ProgramPacketSequenceCounter
impl Clone for ProgramPacketSequenceCounter
Source§fn clone(&self) -> ProgramPacketSequenceCounter
fn clone(&self) -> ProgramPacketSequenceCounter
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 ProgramPacketSequenceCounter
Source§impl Debug for ProgramPacketSequenceCounter
impl Debug for ProgramPacketSequenceCounter
impl Eq for ProgramPacketSequenceCounter
Source§impl PartialEq for ProgramPacketSequenceCounter
impl PartialEq for ProgramPacketSequenceCounter
Source§fn eq(&self, other: &ProgramPacketSequenceCounter) -> bool
fn eq(&self, other: &ProgramPacketSequenceCounter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ProgramPacketSequenceCounter
Auto Trait Implementations§
impl Freeze for ProgramPacketSequenceCounter
impl RefUnwindSafe for ProgramPacketSequenceCounter
impl Send for ProgramPacketSequenceCounter
impl Sync for ProgramPacketSequenceCounter
impl Unpin for ProgramPacketSequenceCounter
impl UnsafeUnpin for ProgramPacketSequenceCounter
impl UnwindSafe for ProgramPacketSequenceCounter
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