Struct mpeg2ts_reader::psi::pat::PatSection
source · pub struct PatSection<'buf> { /* private fields */ }
Expand description
Sections of the Program Association Table give details of the programs within a transport stream. There may be only one program, or in the case of a broadcast multiplex, there may be many.
Implementations
sourceimpl<'buf> PatSection<'buf>
impl<'buf> PatSection<'buf>
pub fn new(data: &'buf [u8]) -> PatSection<'buf>
pub fn programs(&self) -> impl Iterator<Item = ProgramDescriptor> + 'buf
Trait Implementations
sourceimpl<'buf> Clone for PatSection<'buf>
impl<'buf> Clone for PatSection<'buf>
sourcefn clone(&self) -> PatSection<'buf>
fn clone(&self) -> PatSection<'buf>
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<'buf> RefUnwindSafe for PatSection<'buf>
impl<'buf> Send for PatSection<'buf>
impl<'buf> Sync for PatSection<'buf>
impl<'buf> Unpin for PatSection<'buf>
impl<'buf> UnwindSafe for PatSection<'buf>
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