pub struct DemuxHeader {
pub codec: String,
pub info: StreamInfo,
}Expand description
Header information for a demuxed stream — codec label + the
StreamInfo shape every existing caller already consumes.
Available immediately after demux_streaming() returns; parsed
from the container header before any video samples are pulled.
Fields§
§codec: String§info: StreamInfoTrait Implementations§
Source§impl Clone for DemuxHeader
impl Clone for DemuxHeader
Source§fn clone(&self) -> DemuxHeader
fn clone(&self) -> DemuxHeader
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 moreAuto Trait Implementations§
impl Freeze for DemuxHeader
impl RefUnwindSafe for DemuxHeader
impl Send for DemuxHeader
impl Sync for DemuxHeader
impl Unpin for DemuxHeader
impl UnsafeUnpin for DemuxHeader
impl UnwindSafe for DemuxHeader
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