pub enum PaletteFamilyName {
Primary,
Secondary,
Tertiary,
Neutral,
NeutralVariant,
Error,
Success,
Warning,
Info,
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PaletteFamilyName
impl Clone for PaletteFamilyName
Source§fn clone(&self) -> PaletteFamilyName
fn clone(&self) -> PaletteFamilyName
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 PaletteFamilyName
Source§impl Debug for PaletteFamilyName
impl Debug for PaletteFamilyName
Source§impl Default for PaletteFamilyName
impl Default for PaletteFamilyName
Source§fn default() -> PaletteFamilyName
fn default() -> PaletteFamilyName
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaletteFamilyName
impl<'de> Deserialize<'de> for PaletteFamilyName
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 PaletteFamilyName
impl Display for PaletteFamilyName
impl Eq for PaletteFamilyName
Source§impl FromStr for PaletteFamilyName
impl FromStr for PaletteFamilyName
Source§impl Hash for PaletteFamilyName
impl Hash for PaletteFamilyName
Source§impl Ord for PaletteFamilyName
impl Ord for PaletteFamilyName
Source§fn cmp(&self, other: &PaletteFamilyName) -> Ordering
fn cmp(&self, other: &PaletteFamilyName) -> 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 PaletteFamilyName
impl PartialEq for PaletteFamilyName
Source§impl PartialOrd for PaletteFamilyName
impl PartialOrd for PaletteFamilyName
Source§impl Serialize for PaletteFamilyName
impl Serialize for PaletteFamilyName
impl StructuralPartialEq for PaletteFamilyName
Auto Trait Implementations§
impl Freeze for PaletteFamilyName
impl RefUnwindSafe for PaletteFamilyName
impl Send for PaletteFamilyName
impl Sync for PaletteFamilyName
impl Unpin for PaletteFamilyName
impl UnsafeUnpin for PaletteFamilyName
impl UnwindSafe for PaletteFamilyName
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