Struct matroska_demuxer::Info
source · pub struct Info { /* private fields */ }
Expand description
Contains general information about the segment.
Implementations§
source§impl Info
impl Info
sourcepub fn timestamp_scale(&self) -> NonZeroU64
pub fn timestamp_scale(&self) -> NonZeroU64
Timestamp scale in nanoseconds (1_000_000 means all timestamps in the Segment are expressed in milliseconds).
sourcepub fn duration(&self) -> Option<f64>
pub fn duration(&self) -> Option<f64>
Duration of the Segment in nanoseconds based on TimestampScale.
sourcepub fn date_utc(&self) -> Option<i64>
pub fn date_utc(&self) -> Option<i64>
The date and time that the Segment was created by the muxing application or library.
sourcepub fn muxing_app(&self) -> &str
pub fn muxing_app(&self) -> &str
Muxing application or library.
sourcepub fn writing_app(&self) -> &str
pub fn writing_app(&self) -> &str
Writing application.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Info
impl Send for Info
impl Sync for Info
impl Unpin for Info
impl UnwindSafe for Info
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