Struct matroska::Track[][src]

pub struct Track {
Show fields pub number: u64, pub uid: u64, pub tracktype: Tracktype, pub enabled: bool, pub default: bool, pub forced: bool, pub interlaced: bool, pub default_duration: Option<Duration>, pub name: Option<String>, pub language: Option<Language>, pub codec_id: String, pub codec_name: Option<String>, pub settings: Settings,
}

A TrackEntry segment in the Tracks segment container

Fields

number: u64

The track number, starting from 1

uid: u64

The track’s UID

tracktype: Tracktype

The track’s type

enabled: bool

If the track is usable

default: bool

If the track should be active if no other preferences found

forced: bool

If the track must be active during playback

interlaced: bool

If the track contains blocks using lacing

default_duration: Option<Duration>

Duration of each frame

name: Option<String>

A human-readable track name

language: Option<Language>

The track’s language

codec_id: String

The track’s codec’s ID

codec_name: Option<String>

The track’s codec’s human-readable name

settings: Settings

The track’s audio or video settings

Trait Implementations

impl Debug for Track[src]

Auto Trait Implementations

impl RefUnwindSafe for Track

impl Send for Track

impl Sync for Track

impl Unpin for Track

impl UnwindSafe for Track

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, 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.