[−][src]Trait piet::GradientStops
A flexible, ergonomic way to describe gradient stops.
A flexible, ergonomic way to describe gradient stops.
fn to_vec(self) -> ArrayVec<[GradientStop; 3]>
impl GradientStops for ArrayVec<[GradientStop; 3]>
[src]fn to_vec(self) -> ArrayVec<[GradientStop; 3]>
[src]impl<'a> GradientStops for &'a [Color]
[src]fn to_vec(self) -> ArrayVec<[GradientStop; 3]>
[src]impl<'a> GradientStops for (Color, Color)
[src]fn to_vec(self) -> ArrayVec<[GradientStop; 3]>
[src]impl<'a> GradientStops for (Color, Color, Color)
[src]fn to_vec(self) -> ArrayVec<[GradientStop; 3]>
[src]impl<'a> GradientStops for (Color, Color, Color, Color)
[src]fn to_vec(self) -> ArrayVec<[GradientStop; 3]>
[src]impl<'a> GradientStops for (Color, Color, Color, Color, Color)
[src]fn to_vec(self) -> ArrayVec<[GradientStop; 3]>
[src]impl<'a> GradientStops for (Color, Color, Color, Color, Color, Color)
[src]fn to_vec(self) -> ArrayVec<[GradientStop; 3]>
[src]