#[non_exhaustive]#[repr(u32)]pub enum ContentType {
Video = 0,
Vbi = 1,
SlicedVbi = 2,
VideoOverlay = 3,
VideoMplane = 4,
Sdr = 5,
Meta = 6,
}Expand description
Buffer content type
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.
Implementations§
Trait Implementations§
Source§impl AsRef<u32> for ContentType
impl AsRef<u32> for ContentType
Source§impl Clone for ContentType
impl Clone for ContentType
Source§fn clone(&self) -> ContentType
fn clone(&self) -> ContentType
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 ContentType
impl Debug for ContentType
Source§impl Deref for ContentType
impl Deref for ContentType
Source§impl Display for ContentType
impl Display for ContentType
Source§impl From<ContentType> for u32
impl From<ContentType> for u32
Source§fn from(data: ContentType) -> Self
fn from(data: ContentType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContentType
impl PartialEq for ContentType
Source§impl TryFrom<u32> for ContentType
impl TryFrom<u32> for ContentType
impl Copy for ContentType
impl Eq for ContentType
impl StructuralPartialEq for ContentType
Auto Trait Implementations§
impl Freeze for ContentType
impl RefUnwindSafe for ContentType
impl Send for ContentType
impl Sync for ContentType
impl Unpin for ContentType
impl UnwindSafe for ContentType
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