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