Struct mpeg2ts_reader::packet::Pid
source · pub struct Pid(_);Expand description
A Packet Identifier value, between 0x0000 and 0x1fff.
PID values identify a particular sub-stream within the overall Transport Stream.
As returned by the Packet::pid method for example.
Implementations
sourceimpl Pid
impl Pid
sourcepub const PID_COUNT: usize = 8_192usize
pub const PID_COUNT: usize = 8_192usize
The total number of distinct PID values, 0x2000 (equal to MAX_VALUE + 1)
sourcepub const PAT: Pid = _
pub const PAT: Pid = _
The identifier of TS Packets containing Program Association Table sections, with value 0.
Trait Implementations
impl Copy for Pid
impl Eq for Pid
impl StructuralEq for Pid
impl StructuralPartialEq for Pid
Auto Trait Implementations
impl RefUnwindSafe for Pid
impl Send for Pid
impl Sync for Pid
impl Unpin for Pid
impl UnwindSafe for Pid
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more