[][src]Struct av_data::timeinfo::TimeInfo

pub struct TimeInfo {
    pub pts: Option<i64>,
    pub dts: Option<i64>,
    pub duration: Option<u64>,
    pub timebase: Option<Rational64>,
    pub user_private: Option<Arc<dyn Any + Send + Sync>>,
}

Timestamp information.

Fields

pts: Option<i64>

Presentation timestamp.

dts: Option<i64>

Decode timestamp.

duration: Option<u64>

Duration (in timebase units).

timebase: Option<Rational64>

Timebase numerator/denominator.

user_private: Option<Arc<dyn Any + Send + Sync>>

Timebase user private data.

Trait Implementations

impl Clone for TimeInfo[src]

impl Debug for TimeInfo[src]

impl Default for TimeInfo[src]

Auto Trait Implementations

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.