#[repr(u8)]pub enum Primaries {
Srgb = 1,
Custom = 2,
Bt2100 = 9,
P3 = 11,
}Expand description
Primaries enumeration.
Variants§
Srgb = 1
sRGB primaries.
Custom = 2
Custom primaries.
Bt2100 = 9
BT.2100 primaries.
P3 = 11
P3 primaries.
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 UnsafeUnpin 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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more