#[non_exhaustive]#[repr(u32)]pub enum Mpeg2PicCodingType {
I = 1,
P = 2,
B = 3,
D = 4,
}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.
Trait Implementations§
Source§impl AsRef<u32> for Mpeg2PicCodingType
impl AsRef<u32> for Mpeg2PicCodingType
Source§impl Clone for Mpeg2PicCodingType
impl Clone for Mpeg2PicCodingType
Source§fn clone(&self) -> Mpeg2PicCodingType
fn clone(&self) -> Mpeg2PicCodingType
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 Mpeg2PicCodingType
impl Debug for Mpeg2PicCodingType
Source§impl Deref for Mpeg2PicCodingType
impl Deref for Mpeg2PicCodingType
Source§impl Display for Mpeg2PicCodingType
impl Display for Mpeg2PicCodingType
Source§impl From<Mpeg2PicCodingType> for u32
impl From<Mpeg2PicCodingType> for u32
Source§fn from(data: Mpeg2PicCodingType) -> Self
fn from(data: Mpeg2PicCodingType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for Mpeg2PicCodingType
impl PartialEq for Mpeg2PicCodingType
Source§impl TryFrom<u32> for Mpeg2PicCodingType
impl TryFrom<u32> for Mpeg2PicCodingType
impl Copy for Mpeg2PicCodingType
impl Eq for Mpeg2PicCodingType
impl StructuralPartialEq for Mpeg2PicCodingType
Auto Trait Implementations§
impl Freeze for Mpeg2PicCodingType
impl RefUnwindSafe for Mpeg2PicCodingType
impl Send for Mpeg2PicCodingType
impl Sync for Mpeg2PicCodingType
impl Unpin for Mpeg2PicCodingType
impl UnwindSafe for Mpeg2PicCodingType
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