Struct matroska::Matroska [−][src]
pub struct Matroska { pub info: Info, pub tracks: Vec<Track>, pub attachments: Vec<Attachment>, pub chapters: Vec<ChapterEdition>, pub tags: Vec<Tag>, }
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
The file’s Tags segment
Implementations
impl Matroska
[src]
impl Matroska
[src]pub fn open(file: File) -> Result<Matroska, MatroskaError>
[src]
Parses contents of open Matroska file
pub fn video_tracks(&self) -> Vec<&Track>
[src]
Returns all tracks with a type of “video”
pub fn audio_tracks(&self) -> Vec<&Track>
[src]
Returns all tracks with a type of “audio”
pub fn subtitle_tracks(&self) -> Vec<&Track>
[src]
Returns all tracks with a type of “subtitle”
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Matroska
impl RefUnwindSafe for Matroska
impl UnwindSafe for Matroska
impl UnwindSafe for Matroska