#[non_exhaustive]pub enum TransferCharacteristics {
Bt709 = 1,
Unspecified = 2,
Bt601 = 6,
Linear = 8,
Log = 9,
LogSqrt = 10,
Srgb = 13,
Bt2020_10 = 14,
Bt2020_12 = 15,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Bt709 = 1
ITU-R BT1361
Unspecified = 2
Bt601 = 6
ITU-R BT601-6 525
Linear = 8
“Linear transfer characteristics”
Log = 9
“Logarithmic transfer characteristic (100:1 range)”
LogSqrt = 10
“Logarithmic transfer characteristic (100 * Sqrt(10) : 1 range)”
Srgb = 13
sRGB
Bt2020_10 = 14
ITU-R BT2020 for 10-bit system
Bt2020_12 = 15
ITU-R BT2020 for 12-bit system
Trait Implementations§
Source§impl Clone for TransferCharacteristics
impl Clone for TransferCharacteristics
Source§fn clone(&self) -> TransferCharacteristics
fn clone(&self) -> TransferCharacteristics
Returns a copy 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 TransferCharacteristics
impl Debug for TransferCharacteristics
Source§impl PartialEq for TransferCharacteristics
impl PartialEq for TransferCharacteristics
impl Copy for TransferCharacteristics
impl Eq for TransferCharacteristics
impl StructuralPartialEq for TransferCharacteristics
Auto Trait Implementations§
impl Freeze for TransferCharacteristics
impl RefUnwindSafe for TransferCharacteristics
impl Send for TransferCharacteristics
impl Sync for TransferCharacteristics
impl Unpin for TransferCharacteristics
impl UnwindSafe for TransferCharacteristics
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