Struct matroska::Track[][src]

pub struct Track {
Show 13 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,
}
Expand description

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.