Struct matroska_demuxer::Info[][src]

pub struct Info { /* fields omitted */ }

Contains general information about the segment.

Implementations

impl Info[src]

pub fn timestamp_scale(&self) -> NonZeroU64[src]

Timestamp scale in nanoseconds (1_000_000 means all timestamps in the Segment are expressed in milliseconds).

pub fn duration(&self) -> Option<f64>[src]

Duration of the Segment in nanoseconds based on TimestampScale.

pub fn date_utc(&self) -> Option<i64>[src]

The date and time that the Segment was created by the muxing application or library.

pub fn title(&self) -> Option<&str>[src]

General name of the Segment.

pub fn muxing_app(&self) -> &str[src]

Muxing application or library.

pub fn writing_app(&self) -> &str[src]

Writing application.

Trait Implementations

impl Clone for Info[src]

impl Debug for Info[src]

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

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.