pub enum NumericColorSpace {
GammaByte,
Linear,
}
Expand description
How to display numeric color values.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for NumericColorSpace
impl Clone for NumericColorSpace
Source§fn clone(&self) -> NumericColorSpace
fn clone(&self) -> NumericColorSpace
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 NumericColorSpace
impl Debug for NumericColorSpace
Source§impl<'de> Deserialize<'de> for NumericColorSpace
impl<'de> Deserialize<'de> for NumericColorSpace
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for NumericColorSpace
impl Display for NumericColorSpace
Source§impl PartialEq for NumericColorSpace
impl PartialEq for NumericColorSpace
Source§impl Serialize for NumericColorSpace
impl Serialize for NumericColorSpace
impl Copy for NumericColorSpace
impl Eq for NumericColorSpace
impl StructuralPartialEq for NumericColorSpace
Auto Trait Implementations§
impl Freeze for NumericColorSpace
impl RefUnwindSafe for NumericColorSpace
impl Send for NumericColorSpace
impl Sync for NumericColorSpace
impl Unpin for NumericColorSpace
impl UnwindSafe for NumericColorSpace
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