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