pub enum GainMapDirection {
BaseIsSdr,
BaseIsHdr,
}Expand description
Whether the base image is SDR or HDR. Derived from headroom comparison.
Variants§
BaseIsSdr
Base image is SDR, alternate is HDR. Typical for JPEG and AVIF.
BaseIsHdr
Base image is HDR, alternate is SDR. Typical for JXL.
Trait Implementations§
Source§impl Clone for GainMapDirection
impl Clone for GainMapDirection
Source§fn clone(&self) -> GainMapDirection
fn clone(&self) -> GainMapDirection
Returns a duplicate 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 GainMapDirection
impl Debug for GainMapDirection
Source§impl PartialEq for GainMapDirection
impl PartialEq for GainMapDirection
impl Copy for GainMapDirection
impl Eq for GainMapDirection
impl StructuralPartialEq for GainMapDirection
Auto Trait Implementations§
impl Freeze for GainMapDirection
impl RefUnwindSafe for GainMapDirection
impl Send for GainMapDirection
impl Sync for GainMapDirection
impl Unpin for GainMapDirection
impl UnsafeUnpin for GainMapDirection
impl UnwindSafe for GainMapDirection
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