#[non_exhaustive]#[repr(u32)]pub enum JpegActiveMarker {
App0 = 1,
App1 = 2,
Com = 65_536,
Dqt = 131_072,
Dht = 262_144,
}
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 JpegActiveMarker
impl AsRef<u32> for JpegActiveMarker
Source§impl Clone for JpegActiveMarker
impl Clone for JpegActiveMarker
Source§fn clone(&self) -> JpegActiveMarker
fn clone(&self) -> JpegActiveMarker
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 JpegActiveMarker
impl Debug for JpegActiveMarker
Source§impl Deref for JpegActiveMarker
impl Deref for JpegActiveMarker
Source§impl Display for JpegActiveMarker
impl Display for JpegActiveMarker
Source§impl From<JpegActiveMarker> for u32
impl From<JpegActiveMarker> for u32
Source§fn from(data: JpegActiveMarker) -> Self
fn from(data: JpegActiveMarker) -> Self
Converts to this type from the input type.
Source§impl PartialEq for JpegActiveMarker
impl PartialEq for JpegActiveMarker
Source§impl TryFrom<u32> for JpegActiveMarker
impl TryFrom<u32> for JpegActiveMarker
impl Copy for JpegActiveMarker
impl Eq for JpegActiveMarker
impl StructuralPartialEq for JpegActiveMarker
Auto Trait Implementations§
impl Freeze for JpegActiveMarker
impl RefUnwindSafe for JpegActiveMarker
impl Send for JpegActiveMarker
impl Sync for JpegActiveMarker
impl Unpin for JpegActiveMarker
impl UnwindSafe for JpegActiveMarker
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