pub enum ChromaStrategy {
Subtle,
Normal,
Vibrant,
Muted,
Industrial,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ChromaStrategy
impl Clone for ChromaStrategy
Source§fn clone(&self) -> ChromaStrategy
fn clone(&self) -> ChromaStrategy
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 ChromaStrategy
Source§impl Debug for ChromaStrategy
impl Debug for ChromaStrategy
Source§impl Default for ChromaStrategy
impl Default for ChromaStrategy
Source§fn default() -> ChromaStrategy
fn default() -> ChromaStrategy
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChromaStrategy
impl<'de> Deserialize<'de> for ChromaStrategy
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 ChromaStrategy
impl Display for ChromaStrategy
impl Eq for ChromaStrategy
Source§impl Ord for ChromaStrategy
impl Ord for ChromaStrategy
Source§fn cmp(&self, other: &ChromaStrategy) -> Ordering
fn cmp(&self, other: &ChromaStrategy) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ChromaStrategy
impl PartialEq for ChromaStrategy
Source§impl PartialOrd for ChromaStrategy
impl PartialOrd for ChromaStrategy
Source§impl Serialize for ChromaStrategy
impl Serialize for ChromaStrategy
impl StructuralPartialEq for ChromaStrategy
Auto Trait Implementations§
impl Freeze for ChromaStrategy
impl RefUnwindSafe for ChromaStrategy
impl Send for ChromaStrategy
impl Sync for ChromaStrategy
impl Unpin for ChromaStrategy
impl UnsafeUnpin for ChromaStrategy
impl UnwindSafe for ChromaStrategy
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