pub enum GainMapColorSpace {
Base,
Alternate,
}Expand description
Which rendition’s linear RGB primaries host channelwise gain application (ISO 21496-1 use_base_colour_space).
Variants§
Base
Apply channelwise gain in the base rendition’s linear RGB primaries (use_base_colour_space = true).
Alternate
Convert base to the alternate rendition’s linear RGB primaries before applying gain (use_base_colour_space = false).
Trait Implementations§
Source§impl Clone for GainMapColorSpace
impl Clone for GainMapColorSpace
Source§fn clone(&self) -> GainMapColorSpace
fn clone(&self) -> GainMapColorSpace
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 GainMapColorSpace
Source§impl Debug for GainMapColorSpace
impl Debug for GainMapColorSpace
Source§impl Default for GainMapColorSpace
impl Default for GainMapColorSpace
Source§fn default() -> GainMapColorSpace
fn default() -> GainMapColorSpace
Returns the “default value” for a type. Read more
impl Eq for GainMapColorSpace
Source§impl Hash for GainMapColorSpace
impl Hash for GainMapColorSpace
Source§impl PartialEq for GainMapColorSpace
impl PartialEq for GainMapColorSpace
impl StructuralPartialEq for GainMapColorSpace
Auto Trait Implementations§
impl Freeze for GainMapColorSpace
impl RefUnwindSafe for GainMapColorSpace
impl Send for GainMapColorSpace
impl Sync for GainMapColorSpace
impl Unpin for GainMapColorSpace
impl UnsafeUnpin for GainMapColorSpace
impl UnwindSafe for GainMapColorSpace
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