pub struct ProgramStreamMap<'a> {
pub current_next_indicator: bool,
pub single_extension_stream_flag: bool,
pub version: u8,
pub program_stream_info: &'a [u8],
pub elementary_stream_map: Vec<EsMapEntry<'a>>,
pub crc: u32,
}Expand description
A parsed Program Stream Map.
Fields§
§current_next_indicator: boolcurrent_next_indicator (1 bit).
single_extension_stream_flag: boolsingle_extension_stream_flag (1 bit).
version: u8program_stream_map_version (5 bits).
program_stream_info: &'a [u8]Descriptors for the program stream itself.
elementary_stream_map: Vec<EsMapEntry<'a>>Per-elementary-stream entries.
crc: u32The raw CRC-32 value in the trailer (validated on parse).
Trait Implementations§
Source§impl<'a> Clone for ProgramStreamMap<'a>
impl<'a> Clone for ProgramStreamMap<'a>
Source§fn clone(&self) -> ProgramStreamMap<'a>
fn clone(&self) -> ProgramStreamMap<'a>
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<'a> Debug for ProgramStreamMap<'a>
impl<'a> Debug for ProgramStreamMap<'a>
impl<'a> Eq for ProgramStreamMap<'a>
Source§impl<'a> Parse<'a> for ProgramStreamMap<'a>
impl<'a> Parse<'a> for ProgramStreamMap<'a>
Source§impl<'a> PartialEq for ProgramStreamMap<'a>
impl<'a> PartialEq for ProgramStreamMap<'a>
Source§fn eq(&self, other: &ProgramStreamMap<'a>) -> bool
fn eq(&self, other: &ProgramStreamMap<'a>) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<'a> Serialize for ProgramStreamMap<'a>
impl<'a> Serialize for ProgramStreamMap<'a>
Source§impl Serialize for ProgramStreamMap<'_>
impl Serialize for ProgramStreamMap<'_>
Source§type Error = Error
type Error = Error
The error type this implementer returns (usually the same as the
corresponding
Parse impl, but need not be).Source§fn serialized_len(&self) -> usize
fn serialized_len(&self) -> usize
Number of bytes
serialize_into will write.impl<'a> StructuralPartialEq for ProgramStreamMap<'a>
Auto Trait Implementations§
impl<'a> Freeze for ProgramStreamMap<'a>
impl<'a> RefUnwindSafe for ProgramStreamMap<'a>
impl<'a> Send for ProgramStreamMap<'a>
impl<'a> Sync for ProgramStreamMap<'a>
impl<'a> Unpin for ProgramStreamMap<'a>
impl<'a> UnsafeUnpin for ProgramStreamMap<'a>
impl<'a> UnwindSafe for ProgramStreamMap<'a>
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