pub enum ColorTransfer {
Srgb,
Linear,
Pq,
Hlg,
}Expand description
Electro-optical transfer function (EOTF/OETF).
Variants§
Srgb
sRGB transfer function (gamma ~2.2)
Linear
Linear (gamma 1.0)
Pq
Perceptual Quantizer (SMPTE ST 2084) - HDR
Hlg
Hybrid Log-Gamma (ITU-R BT.2100) - HDR
Trait Implementations§
Source§impl Clone for ColorTransfer
impl Clone for ColorTransfer
Source§fn clone(&self) -> ColorTransfer
fn clone(&self) -> ColorTransfer
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 ColorTransfer
impl Debug for ColorTransfer
Source§impl Default for ColorTransfer
impl Default for ColorTransfer
Source§fn default() -> ColorTransfer
fn default() -> ColorTransfer
Returns the “default value” for a type. Read more
Source§impl PartialEq for ColorTransfer
impl PartialEq for ColorTransfer
impl Copy for ColorTransfer
impl Eq for ColorTransfer
impl StructuralPartialEq for ColorTransfer
Auto Trait Implementations§
impl Freeze for ColorTransfer
impl RefUnwindSafe for ColorTransfer
impl Send for ColorTransfer
impl Sync for ColorTransfer
impl Unpin for ColorTransfer
impl UnwindSafe for ColorTransfer
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