pub enum Gradient {
Ocean,
Violet,
Sunset,
Mint,
Ember,
Ice,
}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 -> rose (danger / critical ops).
Ice
Cool white -> pale blue.
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