pub struct SvgGradient {
pub kind: SvgGradientKind,
pub transform: Affine,
pub stops: Vec<SvgGradientStop>,
}Expand description
An SVG-like gradient.
Fields§
§kind: SvgGradientKindThe kind of the gradient.
transform: AffineThe transform from encoded shading coordinates into the renderer’s coordinate space.
stops: Vec<SvgGradientStop>The stops of the gradient in the sRGB color space.
Auto Trait Implementations§
impl Freeze for SvgGradient
impl RefUnwindSafe for SvgGradient
impl Send for SvgGradient
impl Sync for SvgGradient
impl Unpin for SvgGradient
impl UnsafeUnpin for SvgGradient
impl UnwindSafe for SvgGradient
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