pub enum Predefined {
Srgb,
SrgbLinear,
DisplayP3,
DisplayP3Linear,
A98Rgb,
ProphotoRgb,
Rec2020,
XyzD50,
XyzD65,
}Expand description
A color() space.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for Predefined
impl Clone for Predefined
Source§fn clone(&self) -> Predefined
fn clone(&self) -> Predefined
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Predefined
Source§impl Debug for Predefined
impl Debug for Predefined
impl Eq for Predefined
Source§impl PartialEq for Predefined
impl PartialEq for Predefined
impl StructuralPartialEq for Predefined
Auto Trait Implementations§
impl Forget for Predefined
impl Freeze for Predefined
impl Move for Predefined
impl RefUnwindSafe for Predefined
impl Send for Predefined
impl Sync for Predefined
impl Unpin for Predefined
impl UnsafeUnpin for Predefined
impl UnwindSafe for Predefined
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