Struct nu_ansi_term::gradient::Gradient
source · pub struct Gradient {
pub start: Rgb,
pub end: Rgb,
}
Expand description
Linear color gradient between two color stops
Fields§
§start: Rgb
Start Color of Gradient
end: Rgb
End Color of Gradient
Implementations§
Trait Implementations§
source§impl PartialEq for Gradient
impl PartialEq for Gradient
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 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