pub enum ChromaSubsampling {
CS444,
CS422,
CS420,
CS411,
Auto,
}Expand description
Enum representing different chroma subsampling options for JPEG compression.
CS444: 4:4:4 chroma subsamplingCS422: 4:2:2 chroma subsamplingCS420: 4:2:0 chroma subsamplingCS411: 4:1:1 chroma subsamplingAuto: Automatic chroma subsampling
Variants§
Trait Implementations§
Source§impl Clone for ChromaSubsampling
impl Clone for ChromaSubsampling
impl Copy for ChromaSubsampling
Source§impl PartialEq for ChromaSubsampling
impl PartialEq for ChromaSubsampling
impl StructuralPartialEq for ChromaSubsampling
Auto Trait Implementations§
impl Forget for ChromaSubsampling
impl Freeze for ChromaSubsampling
impl RefUnwindSafe for ChromaSubsampling
impl Send for ChromaSubsampling
impl Sync for ChromaSubsampling
impl Unpin for ChromaSubsampling
impl UnsafeUnpin for ChromaSubsampling
impl UnwindSafe for ChromaSubsampling
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more