pub enum Variant {
Monochrome,
Neutral,
TonalSpot,
Vibrant,
Expressive,
Fidelity,
Content,
Rainbow,
FruitSalad,
}Expand description
The style of a generated scheme.
Variants§
Monochrome
Grayscale; the seed only gives a trace of hue to nothing.
Neutral
Nearly grayscale, with a hint of the seed.
TonalSpot
Pastel tokens at low chroma: Material’s default.
Vibrant
Maximum chroma of the seed’s hue.
Expressive
Hues rotated away from the seed for a playful result.
Fidelity
Places the seed in the primary container, tertiary its complement.
Content
Places the seed in the primary container, tertiary an analogue.
Rainbow
A playful theme in which the seed’s hue does not appear in surfaces.
FruitSalad
A playful theme in which the seed’s hue does not appear in accents.
Implementations§
Trait Implementations§
impl Copy for Variant
Source§impl<'de> Deserialize<'de> for Variant
impl<'de> Deserialize<'de> for Variant
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
impl Eq for Variant
impl StructuralPartialEq for Variant
Auto Trait Implementations§
impl Freeze for Variant
impl RefUnwindSafe for Variant
impl Send for Variant
impl Sync for Variant
impl Unpin for Variant
impl UnsafeUnpin for Variant
impl UnwindSafe for Variant
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