pub struct ContentEncodingOrder(pub u64);Expand description
Defines the order to apply each ContentEncoding of the ContentEncodings.
The decoder/demuxer MUST start with the ContentEncoding with the highest ContentEncodingOrder and work its way down to the ContentEncoding with the lowest ContentEncodingOrder.
This value MUST be unique for each ContentEncoding found in the ContentEncodings of this TrackEntry.
Tuple Fields§
§0: u64Trait Implementations§
Source§impl Clone for ContentEncodingOrder
impl Clone for ContentEncodingOrder
Source§fn clone(&self) -> ContentEncodingOrder
fn clone(&self) -> ContentEncodingOrder
Returns a duplicate 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 moreSource§impl Debug for ContentEncodingOrder
impl Debug for ContentEncodingOrder
Source§impl Default for ContentEncodingOrder
impl Default for ContentEncodingOrder
Source§impl Deref for ContentEncodingOrder
impl Deref for ContentEncodingOrder
Source§impl Element for ContentEncodingOrder
impl Element for ContentEncodingOrder
Source§const HAS_DEFAULT_VALUE: bool = true
const HAS_DEFAULT_VALUE: bool = true
Whether the element has a default value, as per Matroska specification.
If true, and the element is missing in a master element, it should be treated as if it were present with the default value.
If false, and the element is missing in a master element, it should be treated as an error.
Source§fn decode_body(buf: &mut &[u8]) -> Result<Self>
fn decode_body(buf: &mut &[u8]) -> Result<Self>
Decode the body of the element from a buffer.
Source§impl Hash for ContentEncodingOrder
impl Hash for ContentEncodingOrder
Source§impl Ord for ContentEncodingOrder
impl Ord for ContentEncodingOrder
Source§fn cmp(&self, other: &ContentEncodingOrder) -> Ordering
fn cmp(&self, other: &ContentEncodingOrder) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ContentEncodingOrder
impl PartialEq for ContentEncodingOrder
Source§impl PartialOrd for ContentEncodingOrder
impl PartialOrd for ContentEncodingOrder
impl Copy for ContentEncodingOrder
impl Eq for ContentEncodingOrder
impl StructuralPartialEq for ContentEncodingOrder
Auto Trait Implementations§
impl Freeze for ContentEncodingOrder
impl RefUnwindSafe for ContentEncodingOrder
impl Send for ContentEncodingOrder
impl Sync for ContentEncodingOrder
impl Unpin for ContentEncodingOrder
impl UnsafeUnpin for ContentEncodingOrder
impl UnwindSafe for ContentEncodingOrder
Blanket Implementations§
Source§impl<T> AsyncReadElement for Twhere
T: Element,
impl<T> AsyncReadElement for Twhere
T: Element,
Source§impl<T> AsyncReadFrom for Twhere
T: Element,
impl<T> AsyncReadFrom for Twhere
T: Element,
Source§impl<T> AsyncWriteElement for Twhere
T: Element,
impl<T> AsyncWriteElement for Twhere
T: Element,
Source§impl<T> AsyncWriteTo for Twhere
T: Encode,
impl<T> AsyncWriteTo for Twhere
T: Encode,
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