#[non_exhaustive]#[repr(C)]pub enum ChromaUpsamplingAlgorithm {
NearestNeighbor = 1,
Bilinear = 2,
}
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.
Implementations§
Trait Implementations§
source§impl Clone for ChromaUpsamplingAlgorithm
impl Clone for ChromaUpsamplingAlgorithm
source§fn clone(&self) -> ChromaUpsamplingAlgorithm
fn clone(&self) -> ChromaUpsamplingAlgorithm
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 ChromaUpsamplingAlgorithm
impl Debug for ChromaUpsamplingAlgorithm
source§impl Hash for ChromaUpsamplingAlgorithm
impl Hash for ChromaUpsamplingAlgorithm
source§impl PartialEq for ChromaUpsamplingAlgorithm
impl PartialEq for ChromaUpsamplingAlgorithm
source§fn eq(&self, other: &ChromaUpsamplingAlgorithm) -> bool
fn eq(&self, other: &ChromaUpsamplingAlgorithm) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ChromaUpsamplingAlgorithm
impl Eq for ChromaUpsamplingAlgorithm
impl StructuralPartialEq for ChromaUpsamplingAlgorithm
Auto Trait Implementations§
impl Freeze for ChromaUpsamplingAlgorithm
impl RefUnwindSafe for ChromaUpsamplingAlgorithm
impl Send for ChromaUpsamplingAlgorithm
impl Sync for ChromaUpsamplingAlgorithm
impl Unpin for ChromaUpsamplingAlgorithm
impl UnwindSafe for ChromaUpsamplingAlgorithm
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