Struct matroska_demuxer::ContentEncoding
source · pub struct ContentEncoding { /* private fields */ }
Expand description
Settings for one content encoding like compression or encryption.
Implementations§
source§impl ContentEncoding
impl ContentEncoding
sourcepub fn order(&self) -> u64
pub fn order(&self) -> u64
Tells when this modification was used during encoding / muxing starting with 0 and counting upwards.
sourcepub fn scope(&self) -> u64
pub fn scope(&self) -> u64
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.
sourcepub fn encoding_type(&self) -> ContentEncodingType
pub fn encoding_type(&self) -> ContentEncodingType
Describes what kind of transformation is applied.
sourcepub fn encryption(&self) -> Option<&ContentEncryption>
pub fn encryption(&self) -> Option<&ContentEncryption>
Settings describing the encryption used.
Trait Implementations§
source§impl Clone for ContentEncoding
impl Clone for ContentEncoding
source§fn clone(&self) -> ContentEncoding
fn clone(&self) -> ContentEncoding
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl RefUnwindSafe for ContentEncoding
impl Send for ContentEncoding
impl Sync for ContentEncoding
impl Unpin for ContentEncoding
impl UnwindSafe for ContentEncoding
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more