#[non_exhaustive]#[repr(u32)]pub enum MpegVideoAspect {
A1x1,
A3x4,
A16x9,
A221x100,
}
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 MpegVideoAspect
impl AsRef<u32> for MpegVideoAspect
source§impl Clone for MpegVideoAspect
impl Clone for MpegVideoAspect
source§fn clone(&self) -> MpegVideoAspect
fn clone(&self) -> MpegVideoAspect
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 MpegVideoAspect
impl Debug for MpegVideoAspect
source§impl Deref for MpegVideoAspect
impl Deref for MpegVideoAspect
source§impl Display for MpegVideoAspect
impl Display for MpegVideoAspect
source§impl From<MpegVideoAspect> for u32
impl From<MpegVideoAspect> for u32
source§fn from(data: MpegVideoAspect) -> Self
fn from(data: MpegVideoAspect) -> Self
Converts to this type from the input type.
source§impl PartialEq<MpegVideoAspect> for MpegVideoAspect
impl PartialEq<MpegVideoAspect> for MpegVideoAspect
source§fn eq(&self, other: &MpegVideoAspect) -> bool
fn eq(&self, other: &MpegVideoAspect) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl TryFrom<u32> for MpegVideoAspect
impl TryFrom<u32> for MpegVideoAspect
impl Copy for MpegVideoAspect
impl Eq for MpegVideoAspect
impl StructuralEq for MpegVideoAspect
impl StructuralPartialEq for MpegVideoAspect
Auto Trait Implementations§
impl RefUnwindSafe for MpegVideoAspect
impl Send for MpegVideoAspect
impl Sync for MpegVideoAspect
impl Unpin for MpegVideoAspect
impl UnwindSafe for MpegVideoAspect
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