pub enum Color {
Value(String),
LinearGradient {
x: f64,
y: f64,
x2: f64,
y2: f64,
color_stops: Vec<ColorStop>,
},
RadialGradient {
x: f64,
y: f64,
r: f64,
color_stops: Vec<ColorStop>,
},
}
Variants§
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for Color
impl Send for Color
impl Sync for Color
impl Unpin for Color
impl UnwindSafe for Color
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