#[repr(C)]pub enum VSColorPrimaries {
VSC_PRIMARIES_BT709 = 1,
VSC_PRIMARIES_UNSPECIFIED = 2,
VSC_PRIMARIES_BT470_M = 4,
VSC_PRIMARIES_BT470_BG = 5,
VSC_PRIMARIES_ST170_M = 6,
VSC_PRIMARIES_ST240_M = 7,
VSC_PRIMARIES_FILM = 8,
VSC_PRIMARIES_BT2020 = 9,
VSC_PRIMARIES_ST428 = 10,
VSC_PRIMARIES_ST431_2 = 11,
VSC_PRIMARIES_ST432_1 = 12,
VSC_PRIMARIES_EBU3213_E = 22,
}
Variants§
VSC_PRIMARIES_BT709 = 1
VSC_PRIMARIES_UNSPECIFIED = 2
VSC_PRIMARIES_BT470_M = 4
VSC_PRIMARIES_BT470_BG = 5
VSC_PRIMARIES_ST170_M = 6
VSC_PRIMARIES_ST240_M = 7
Equivalent to 6.
VSC_PRIMARIES_FILM = 8
VSC_PRIMARIES_BT2020 = 9
VSC_PRIMARIES_ST428 = 10
VSC_PRIMARIES_ST431_2 = 11
VSC_PRIMARIES_ST432_1 = 12
VSC_PRIMARIES_EBU3213_E = 22
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 for VSColorPrimaries
impl PartialEq for VSColorPrimaries
Source§impl PartialOrd for VSColorPrimaries
impl PartialOrd for VSColorPrimaries
impl Copy for VSColorPrimaries
impl Eq for VSColorPrimaries
impl StructuralPartialEq for VSColorPrimaries
Auto Trait Implementations§
impl Freeze for VSColorPrimaries
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