Struct matroska_demuxer::EbmlHeader[][src]

pub struct EbmlHeader { /* fields omitted */ }

The EBML header of the file.

Implementations

impl EbmlHeader[src]

pub fn version(&self) -> Option<u64>[src]

The EBML version used to create the file.

pub fn read_version(&self) -> Option<u64>[src]

The minimum EBML version a parser has to support to read this file.

pub fn max_id_length(&self) -> u64[src]

The maximum length of the IDs you’ll find in this file (4 or less in Matroska).

pub fn max_size_length(&self) -> u64[src]

The maximum length of the sizes you’ll find in this file (8 or less in Matroska).

pub fn doc_type(&self) -> &str[src]

A string that describes the type of document that follows this EBML header (‘matroska’ / ‘webm’).

pub fn doc_type_version(&self) -> u64[src]

The version of DocType interpreter used to create the file.

pub fn doc_type_read_version(&self) -> u64[src]

The minimum DocType version an interpreter has to support to read this file.

Trait Implementations

impl Clone for EbmlHeader[src]

impl Debug for EbmlHeader[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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.