pub enum CmafTrackKind {
Video,
Audio,
}Expand description
Track type discriminator. CMAF places one track per init / fragment;
this enum is what higher-level orchestration uses to pick which
codec dispatch to take. The init / segment writers themselves don’t
take this enum (they have type-specific entry points), so it stays
#[allow(dead_code)] until the pipeline orchestrator (Phase 4)
wires it through.
Variants§
Trait Implementations§
Source§impl Clone for CmafTrackKind
impl Clone for CmafTrackKind
Source§fn clone(&self) -> CmafTrackKind
fn clone(&self) -> CmafTrackKind
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 CmafTrackKind
Source§impl Debug for CmafTrackKind
impl Debug for CmafTrackKind
impl Eq for CmafTrackKind
Source§impl PartialEq for CmafTrackKind
impl PartialEq for CmafTrackKind
Source§fn eq(&self, other: &CmafTrackKind) -> bool
fn eq(&self, other: &CmafTrackKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for CmafTrackKind
Auto Trait Implementations§
impl Freeze for CmafTrackKind
impl RefUnwindSafe for CmafTrackKind
impl Send for CmafTrackKind
impl Sync for CmafTrackKind
impl Unpin for CmafTrackKind
impl UnsafeUnpin for CmafTrackKind
impl UnwindSafe for CmafTrackKind
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