#[repr(C)]pub enum TransferCharacteristics {
Show 18 variants
ITU_R_BT_709_5 = 1,
Unspecified = 2,
ITU_R_BT_470_6_System_M = 4,
ITU_R_BT_470_6_System_B_G = 5,
ITU_R_BT_601_6 = 6,
SMPTE_240M = 7,
Linear = 8,
Logarithmic100 = 9,
Logarithmic100Sqrt10 = 10,
IEC_61966_2_4 = 11,
ITU_R_BT_1361 = 12,
IEC_61966_2_1 = 13,
ITU_R_BT_2020_2_10bit = 14,
ITU_R_BT_2020_2_12bit = 15,
ITU_R_BT_2100_0_PQ = 16,
SMPTE_ST_428_1 = 17,
ITU_R_BT_2100_0_HLG = 18,
Unknown = 19,
}
Variants§
ITU_R_BT_709_5 = 1
Unspecified = 2
ITU_R_BT_470_6_System_M = 4
ITU_R_BT_470_6_System_B_G = 5
ITU_R_BT_601_6 = 6
SMPTE_240M = 7
Linear = 8
Logarithmic100 = 9
Logarithmic100Sqrt10 = 10
IEC_61966_2_4 = 11
ITU_R_BT_1361 = 12
IEC_61966_2_1 = 13
ITU_R_BT_2020_2_10bit = 14
ITU_R_BT_2020_2_12bit = 15
ITU_R_BT_2100_0_PQ = 16
SMPTE_ST_428_1 = 17
ITU_R_BT_2100_0_HLG = 18
Unknown = 19
This value is used when library libheif
returns unknown value of transfer characteristics.
Implementations§
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 Hash for TransferCharacteristics
impl Hash for TransferCharacteristics
source§impl PartialEq for TransferCharacteristics
impl PartialEq for TransferCharacteristics
source§fn eq(&self, other: &TransferCharacteristics) -> bool
fn eq(&self, other: &TransferCharacteristics) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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