pub enum GainMapDirection {
Forward,
Reverse,
}Expand description
Full re-export of zenpixels core types (zero module name collisions!).
Rendition headroom ordering derived from exact rational comparison of base_hdr_headroom vs alternate_hdr_headroom.
Variants§
Forward
SDR (or lower-headroom) base → HDR (higher-headroom) alternate (H_alt > H_base, positive weight sign).
Reverse
HDR (higher-headroom) base → SDR (lower-headroom) alternate (H_base > H_alt, negative weight sign).
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 (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 GainMapDirection
Source§impl Debug for GainMapDirection
impl Debug for GainMapDirection
impl Eq for GainMapDirection
Source§impl Hash for GainMapDirection
impl Hash for GainMapDirection
Source§impl PartialEq for GainMapDirection
impl PartialEq 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