pub enum Gradient {
Show 13 variants
Ocean,
Violet,
Sunset,
Mint,
Ember,
Ice,
Aurora,
Neon,
Rose,
Forest,
Midnight,
Twilight,
Coral,
}Expand description
A curated set of smooth, true-color progress gradients.
Each variant interpolates a linear ramp between a start and an end RGB
color across the bar, giving a gradual multi-stop feel rather than the flat
two-tone wide_bar. Works on any terminal with 24-bit color support (the
default on modern terminals); degraded gracefully elsewhere.
Variants§
Ocean
Deep blue -> ice cyan. The Enkryptit signature look.
Violet
Violet -> magenta.
Sunset
Warm orange -> gold.
Mint
Aqua green -> mint.
Ember
Amber -> Light Red (danger / critical ops).
Ice
Cool white -> pale blue.
Aurora
Blue / light cyan green -> light purple
Neon
Cyan -> light blue / purple
Rose
Pink -> light Coral
Forest
Green -> light green
Midnight
Dark blue -> light purple
Twilight
A gray-blue -> soft lavender.
Coral
Deep coral -> soft peach.
Implementations§
Trait Implementations§
impl Copy for Gradient
impl Eq for Gradient
impl StructuralPartialEq for Gradient
Auto Trait Implementations§
impl Freeze for Gradient
impl RefUnwindSafe for Gradient
impl Send for Gradient
impl Sync for Gradient
impl Unpin for Gradient
impl UnsafeUnpin for Gradient
impl UnwindSafe for Gradient
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