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 ==.impl Copy for ColorPrimaries
impl Eq for ColorPrimaries
impl StructuralEq for ColorPrimaries
impl StructuralPartialEq for ColorPrimaries
Auto Trait Implementations§
impl RefUnwindSafe for ColorPrimaries
impl Send for ColorPrimaries
impl Sync for ColorPrimaries
impl Unpin for ColorPrimaries
impl UnwindSafe for ColorPrimaries
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