#[repr(u8)]pub enum Primaries {
Srgb = 1,
Custom {
red: Customxy,
green: Customxy,
blue: Customxy,
},
Bt2100 = 9,
P3 = 11,
}
Expand description
RGB primaries.
Variants§
Srgb = 1
sRGB primaries (same as BT.709).
Custom
Custom RGB primaries.
Bt2100 = 9
BT.2100 primaries (same as BT.2020).
P3 = 11
DCI-P3 primaries.
Implementations§
Trait Implementations§
impl Copy for Primaries
impl Eq for Primaries
impl StructuralPartialEq for Primaries
Auto Trait Implementations§
impl Freeze for Primaries
impl RefUnwindSafe for Primaries
impl Send for Primaries
impl Sync for Primaries
impl Unpin for Primaries
impl UnwindSafe for Primaries
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
Source§impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
impl<T, Ctx> BundleDefault<Ctx> for Twhere
T: Default,
Source§fn default_with_context(_: Ctx) -> T
fn default_with_context(_: Ctx) -> T
Creates a default value with the given context.
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)