pub struct Matroska {
    pub info: Info,
    pub tracks: Vec<Track>,
    pub attachments: Vec<Attachment>,
    pub chapters: Vec<ChapterEdition>,
    pub tags: Vec<Tag>,
}
Expand description

A Matroska file

Fields

info: Info

The file’s Info segment

tracks: Vec<Track>

The file’s Tracks segment

attachments: Vec<Attachment>

The file’s Attachments segment

chapters: Vec<ChapterEdition>

The file’s Chapters segment

tags: Vec<Tag>

The file’s Tags segment

Implementations

Parses contents of open Matroska file

Returns all tracks with a type of “video”

Returns all tracks with a type of “audio”

Returns all tracks with a type of “subtitle”

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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.