Enum libheif_rs::ColorPrimaries
source · #[repr(C)]
pub enum ColorPrimaries {
Show 13 variants
Unspecified,
ITU_R_BT_470_6_System_M,
ITU_R_BT_470_6_System_B_G,
ITU_R_BT_601_6,
ITU_R_BT_709_5,
ITU_R_BT_2020_2_and_2100_0,
GenericFilm,
SMPTE_240M,
SMPTE_ST_428_1,
SMPTE_RP_431_2,
SMPTE_EG_432_1,
EBU_Tech_3213_E,
Unknown,
}Variants§
Unspecified
ITU_R_BT_470_6_System_M
ITU_R_BT_470_6_System_B_G
ITU_R_BT_601_6
ITU_R_BT_709_5
ITU_R_BT_2020_2_and_2100_0
GenericFilm
SMPTE_240M
SMPTE_ST_428_1
SMPTE_RP_431_2
SMPTE_EG_432_1
EBU_Tech_3213_E
Unknown
This value is used when library libheif returns unknown value of color primaries.
Implementations§
Trait Implementations§
source§impl Clone for ColorPrimaries
impl Clone for ColorPrimaries
source§fn clone(&self) -> ColorPrimaries
fn clone(&self) -> ColorPrimaries
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 ColorPrimaries
impl Debug for ColorPrimaries
source§impl Hash for ColorPrimaries
impl Hash for ColorPrimaries
source§impl PartialEq<ColorPrimaries> for ColorPrimaries
impl PartialEq<ColorPrimaries> for ColorPrimaries
source§fn eq(&self, other: &ColorPrimaries) -> bool
fn eq(&self, other: &ColorPrimaries) -> bool
This method tests for
self and other values to be equal, and is used
by ==.