pub struct Gradient {
pub color_a: String,
pub color_b: String,
pub scaled: bool,
}Expand description
Progress bar gradient configuration.
Fields§
§color_a: StringStart color (hex).
color_b: StringEnd color (hex).
scaled: boolWhether to scale the gradient to the filled portion.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Gradient
impl RefUnwindSafe for Gradient
impl Send for Gradient
impl Sync for Gradient
impl Unpin 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