Enum mpeg2ts_reader::psi::pat::ProgramDescriptor
source · Variants
Network
Fields
pid: u16
Program
Implementations
sourceimpl ProgramDescriptor
impl ProgramDescriptor
sourcepub fn from_bytes(data: &[u8]) -> ProgramDescriptor
pub fn from_bytes(data: &[u8]) -> ProgramDescriptor
panics if fewer than 4 bytes are provided
pub fn pid(&self) -> u16
Trait Implementations
sourceimpl Clone for ProgramDescriptor
impl Clone for ProgramDescriptor
sourcefn clone(&self) -> ProgramDescriptor
fn clone(&self) -> ProgramDescriptor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for ProgramDescriptor
impl Send for ProgramDescriptor
impl Sync for ProgramDescriptor
impl Unpin for ProgramDescriptor
impl UnwindSafe for ProgramDescriptor
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