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