pub enum Paint {
Color(Color),
LinearGradient(Rc<LinearGradient>),
RadialGradient(Rc<RadialGradient>),
Pattern(Rc<Pattern>),
}
Expand description
A paint style.
paint
value type in the SVG.
Variants§
Color(Color)
LinearGradient(Rc<LinearGradient>)
RadialGradient(Rc<RadialGradient>)
Pattern(Rc<Pattern>)
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Paint
impl !Send for Paint
impl !Sync for Paint
impl Unpin for Paint
impl !UnwindSafe for Paint
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