#[non_exhaustive]pub enum DocType {
Webm,
Matroska,
Other,
}Expand description
The EBML DocType string ("webm" or "matroska") decoded from an EBML
header’s EBMLDocType element.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Webm
DocType == "webm" (WebM container).
Matroska
DocType == "matroska" (Matroska container).
Other
Any other, unrecognised DocType string.
Implementations§
Trait Implementations§
impl Copy for DocType
impl Eq for DocType
impl StructuralPartialEq for DocType
Auto Trait Implementations§
impl Freeze for DocType
impl RefUnwindSafe for DocType
impl Send for DocType
impl Sync for DocType
impl Unpin for DocType
impl UnsafeUnpin for DocType
impl UnwindSafe for DocType
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