Enum libheif_rs::ColorPrimaries
source · #[repr(C)]pub enum ColorPrimaries {
Show 13 variants
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,
ITU_R_BT_709_5 = 1,
ITU_R_BT_2020_2_and_2100_0 = 9,
GenericFilm = 8,
SMPTE_240M = 7,
SMPTE_ST_428_1 = 10,
SMPTE_RP_431_2 = 11,
SMPTE_EG_432_1 = 12,
EBU_Tech_3213_E = 22,
Unknown = 23,
}
Variants§
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
ITU_R_BT_709_5 = 1
ITU_R_BT_2020_2_and_2100_0 = 9
GenericFilm = 8
SMPTE_240M = 7
SMPTE_ST_428_1 = 10
SMPTE_RP_431_2 = 11
SMPTE_EG_432_1 = 12
EBU_Tech_3213_E = 22
Unknown = 23
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 for ColorPrimaries
impl PartialEq 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 StructuralPartialEq for ColorPrimaries
Auto Trait Implementations§
impl Freeze for ColorPrimaries
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