pub struct CmafTrackManifest {
pub init_path: PathBuf,
pub segments: Vec<SegmentInfo>,
pub timescale: u32,
}Expand description
Output of a finalized track muxer: where the init segment lives,
the ordered list of media segments, and the timescale needed to
convert duration_ticks to seconds.
Fields§
§init_path: PathBuf§segments: Vec<SegmentInfo>§timescale: u32Implementations§
Source§impl CmafTrackManifest
impl CmafTrackManifest
Sourcepub fn duration_seconds(&self) -> f64
pub fn duration_seconds(&self) -> f64
Total duration across all segments, in seconds.
Trait Implementations§
Source§impl Clone for CmafTrackManifest
impl Clone for CmafTrackManifest
Source§fn clone(&self) -> CmafTrackManifest
fn clone(&self) -> CmafTrackManifest
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 CmafTrackManifest
impl RefUnwindSafe for CmafTrackManifest
impl Send for CmafTrackManifest
impl Sync for CmafTrackManifest
impl Unpin for CmafTrackManifest
impl UnsafeUnpin for CmafTrackManifest
impl UnwindSafe for CmafTrackManifest
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