#[non_exhaustive]pub enum PlaneRelationship {
Independent,
YCbCr {
matrix: YuvMatrix,
},
Oklab,
GainMap,
}Expand description
How planes in a multi-plane image relate to each other.
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.
Independent
Independent channels (e.g., split R, G, B).
YCbCr
YCbCr with a specific matrix. Subsampling per-plane in PlaneDescriptor.
Oklab
Oklab perceptual color space (L/a/b). Fixed transform, no matrix parameter.
GainMap
Gain map (base rendition + gain plane).
Trait Implementations§
Source§impl Clone for PlaneRelationship
impl Clone for PlaneRelationship
Source§fn clone(&self) -> PlaneRelationship
fn clone(&self) -> PlaneRelationship
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PlaneRelationship
Source§impl Debug for PlaneRelationship
impl Debug for PlaneRelationship
impl Eq for PlaneRelationship
Source§impl Hash for PlaneRelationship
impl Hash for PlaneRelationship
Source§impl PartialEq for PlaneRelationship
impl PartialEq for PlaneRelationship
impl StructuralPartialEq for PlaneRelationship
Auto Trait Implementations§
impl Freeze for PlaneRelationship
impl RefUnwindSafe for PlaneRelationship
impl Send for PlaneRelationship
impl Sync for PlaneRelationship
impl Unpin for PlaneRelationship
impl UnsafeUnpin for PlaneRelationship
impl UnwindSafe for PlaneRelationship
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