pub struct Stop {
pub offset: StopOffset,
pub color: Color,
pub opacity: Opacity,
}Expand description
Gradient’s stop element.
stop element in SVG.
Fields
offset: StopOffsetGradient stop offset.
offset in SVG.
color: ColorGradient stop color.
stop-color in SVG.
opacity: OpacityGradient stop opacity.
stop-opacity in SVG.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Stop
impl Send for Stop
impl Sync for Stop
impl Unpin for Stop
impl UnwindSafe for Stop
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more