pub struct ElementaryStream {
pub pid: u16,
pub stream_type: StreamType,
}Expand description
One elementary stream registered in the PMT.
Fields§
§pid: u16Transport Stream PID (13 bits — must be <= 0x1FFF, and not 0/1 which
are reserved for PAT/CAT).
stream_type: StreamTypeStream type.
Trait Implementations§
Source§impl Clone for ElementaryStream
impl Clone for ElementaryStream
Source§fn clone(&self) -> ElementaryStream
fn clone(&self) -> ElementaryStream
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 ElementaryStream
Source§impl Debug for ElementaryStream
impl Debug for ElementaryStream
impl Eq for ElementaryStream
Source§impl PartialEq for ElementaryStream
impl PartialEq for ElementaryStream
impl StructuralPartialEq for ElementaryStream
Auto Trait Implementations§
impl Freeze for ElementaryStream
impl RefUnwindSafe for ElementaryStream
impl Send for ElementaryStream
impl Sync for ElementaryStream
impl Unpin for ElementaryStream
impl UnsafeUnpin for ElementaryStream
impl UnwindSafe for ElementaryStream
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