Struct matroska_demuxer::ContentEncoding[][src]

pub struct ContentEncoding { /* fields omitted */ }

Settings for one content encoding like compression or encryption.

Implementations

impl ContentEncoding[src]

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

Tells when this modification was used during encoding / muxing starting with 0 and counting upwards.

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

A bit field that describes which Elements have been modified in this way.

Values (big-endian) can be OR’ed:

1 - All frame contents, excluding lacing data. 2 - The track’s private data. 4 - The next ContentEncoding.

pub fn encoding_type(&self) -> ContentEncodingType[src]

Describes what kind of transformation is applied.

pub fn encryption(&self) -> Option<&ContentEncryption>[src]

Settings describing the encryption used.

Trait Implementations

impl Clone for ContentEncoding[src]

impl Debug for ContentEncoding[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.