#[repr(C)]pub enum TransferFunction {
Srgb = 0,
Rec709 = 1,
Gamma2p2 = 2,
Gamma2p8 = 3,
Smpte428 = 4,
Log100 = 5,
Log100Sqrt10 = 6,
Bt1361 = 7,
Smpte240 = 8,
Iec61966 = 9,
Linear = 10,
}Expand description
Declares transfer function for transfer components into a linear colorspace and its inverse
Checks info
Variants§
Srgb = 0
sRGB Transfer function
Rec709 = 1
Rec.709 Transfer function
Gamma2p2 = 2
Pure gamma 2.2 Transfer function, ITU-R 470M
Gamma2p8 = 3
Pure gamma 2.8 Transfer function, ITU-R 470BG
Smpte428 = 4
Smpte 428 Transfer function
Log100 = 5
Log100 Transfer function
Log100Sqrt10 = 6
Log100Sqrt10 Transfer function
Bt1361 = 7
Bt1361 Transfer function
Smpte240 = 8
Smpte 240 Transfer function
Iec61966 = 9
IEC 61966 Transfer function
Linear = 10
Linear transfer function
Implementations§
Trait Implementations§
Source§impl Clone for TransferFunction
impl Clone for TransferFunction
Source§fn clone(&self) -> TransferFunction
fn clone(&self) -> TransferFunction
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 TransferFunction
impl Debug for TransferFunction
Source§impl From<u8> for TransferFunction
impl From<u8> for TransferFunction
Source§impl Hash for TransferFunction
impl Hash for TransferFunction
Source§impl Ord for TransferFunction
impl Ord for TransferFunction
Source§fn cmp(&self, other: &TransferFunction) -> Ordering
fn cmp(&self, other: &TransferFunction) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for TransferFunction
impl PartialEq for TransferFunction
Source§impl PartialOrd for TransferFunction
impl PartialOrd for TransferFunction
impl Copy for TransferFunction
impl Eq for TransferFunction
impl StructuralPartialEq for TransferFunction
Auto Trait Implementations§
impl Freeze for TransferFunction
impl RefUnwindSafe for TransferFunction
impl Send for TransferFunction
impl Sync for TransferFunction
impl Unpin for TransferFunction
impl UnsafeUnpin for TransferFunction
impl UnwindSafe for TransferFunction
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