#[non_exhaustive]pub enum ColorPrimaries {
Bt709 = 1,
Unspecified = 2,
Bt601 = 6,
Bt2020 = 9,
DciP3 = 11,
DisplayP3 = 12,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Bt709 = 1
ITU-R BT1361
Unspecified = 2
Bt601 = 6
ITU-R BT601-6 525
Bt2020 = 9
ITU-R BT2020
DciP3 = 11
SMPTE ST 431-2
DisplayP3 = 12
SMPTE ST 432-1
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 PartialEq for ColorPrimaries
impl PartialEq for ColorPrimaries
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