[][src]Struct vujio_server::stream::Track

pub struct Track {
    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<String>,
    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<String>

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

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> Same<T> for T

type Output = T

Should always be Self

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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,