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