pub struct SvgGradientStop {
pub offset: f32,
pub color: [f32; 4],
}Expand description
A color stop for an SVG-like gradient.
Fields§
§offset: f32Normalized offset.
color: [f32; 4]RGBA color components in sRGB.
Auto Trait Implementations§
impl Freeze for SvgGradientStop
impl RefUnwindSafe for SvgGradientStop
impl Send for SvgGradientStop
impl Sync for SvgGradientStop
impl Unpin for SvgGradientStop
impl UnsafeUnpin for SvgGradientStop
impl UnwindSafe for SvgGradientStop
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