#[repr(C)]pub enum VSColorPrimaries {
VSC_PRIMARIES_BT709,
VSC_PRIMARIES_UNSPECIFIED,
VSC_PRIMARIES_BT470_M,
VSC_PRIMARIES_BT470_BG,
VSC_PRIMARIES_ST170_M,
VSC_PRIMARIES_ST240_M,
VSC_PRIMARIES_FILM,
VSC_PRIMARIES_BT2020,
VSC_PRIMARIES_ST428,
VSC_PRIMARIES_ST431_2,
VSC_PRIMARIES_ST432_1,
VSC_PRIMARIES_EBU3213_E,
}Variants§
VSC_PRIMARIES_BT709
VSC_PRIMARIES_UNSPECIFIED
VSC_PRIMARIES_BT470_M
VSC_PRIMARIES_BT470_BG
VSC_PRIMARIES_ST170_M
VSC_PRIMARIES_ST240_M
Equivalent to 6.
VSC_PRIMARIES_FILM
VSC_PRIMARIES_BT2020
VSC_PRIMARIES_ST428
VSC_PRIMARIES_ST431_2
VSC_PRIMARIES_ST432_1
VSC_PRIMARIES_EBU3213_E
Trait Implementations§
source§impl Clone for VSColorPrimaries
impl Clone for VSColorPrimaries
source§fn clone(&self) -> VSColorPrimaries
fn clone(&self) -> VSColorPrimaries
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 VSColorPrimaries
impl Debug for VSColorPrimaries
source§impl Hash for VSColorPrimaries
impl Hash for VSColorPrimaries
source§impl Ord for VSColorPrimaries
impl Ord for VSColorPrimaries
source§fn cmp(&self, other: &VSColorPrimaries) -> Ordering
fn cmp(&self, other: &VSColorPrimaries) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<VSColorPrimaries> for VSColorPrimaries
impl PartialEq<VSColorPrimaries> for VSColorPrimaries
source§fn eq(&self, other: &VSColorPrimaries) -> bool
fn eq(&self, other: &VSColorPrimaries) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<VSColorPrimaries> for VSColorPrimaries
impl PartialOrd<VSColorPrimaries> for VSColorPrimaries
source§fn partial_cmp(&self, other: &VSColorPrimaries) -> Option<Ordering>
fn partial_cmp(&self, other: &VSColorPrimaries) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for VSColorPrimaries
impl Eq for VSColorPrimaries
impl StructuralEq for VSColorPrimaries
impl StructuralPartialEq for VSColorPrimaries
Auto Trait Implementations§
impl RefUnwindSafe for VSColorPrimaries
impl Send for VSColorPrimaries
impl Sync for VSColorPrimaries
impl Unpin for VSColorPrimaries
impl UnwindSafe for VSColorPrimaries
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