#[non_exhaustive]#[repr(u32)]pub enum MpegVideoEncoding {
Mpeg1,
Mpeg2,
Mpeg4Avc,
}
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.
Methods from Deref<Target = u32>§
pub const MIN: u32 = 0u32
pub const MAX: u32 = 4_294_967_295u32
pub const BITS: u32 = 32u32
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<MpegVideoEncoding> for MpegVideoEncoding
impl PartialEq<MpegVideoEncoding> for MpegVideoEncoding
source§fn eq(&self, other: &MpegVideoEncoding) -> bool
fn eq(&self, other: &MpegVideoEncoding) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for MpegVideoEncoding
impl TryFrom<u32> for MpegVideoEncoding
impl Copy for MpegVideoEncoding
impl Eq for MpegVideoEncoding
impl StructuralEq for MpegVideoEncoding
impl StructuralPartialEq for MpegVideoEncoding
Auto Trait Implementations§
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