Struct sixtyfps_corelib::graphics::GradientStop [−][src]
GradientStop describes a single color stop in a gradient. The colors between multiple stops are interpolated.
Fields
color: Color
The color to draw at this stop.
position: f32
The position of this stop on the entire shape, as a normalized value between 0 and 1.
Trait Implementations
impl Clone for GradientStop
[src]
impl Clone for GradientStop
[src]fn clone(&self) -> GradientStop
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for GradientStop
[src]
impl Copy for GradientStop
[src]impl PartialEq<GradientStop> for GradientStop
[src]
impl PartialEq<GradientStop> for GradientStop
[src]fn eq(&self, other: &GradientStop) -> bool
[src]
fn ne(&self, other: &GradientStop) -> bool
[src]
impl StructuralPartialEq for GradientStop
[src]
impl StructuralPartialEq for GradientStop
[src]Auto Trait Implementations
impl RefUnwindSafe for GradientStop
impl RefUnwindSafe for GradientStop
impl Send for GradientStop
impl Send for GradientStop
impl Sync for GradientStop
impl Sync for GradientStop
impl Unpin for GradientStop
impl Unpin for GradientStop
impl UnwindSafe for GradientStop
impl UnwindSafe for GradientStop