[][src]Trait piet::GradientStops

pub trait GradientStops {
    fn to_vec(self) -> ArrayVec<[GradientStop; 3]>;
}

A flexible, ergonomic way to describe gradient stops.

Required methods

fn to_vec(self) -> ArrayVec<[GradientStop; 3]>

Loading content...

Implementations on Foreign Types

impl GradientStops for ArrayVec<[GradientStop; 3]>[src]

Loading content...

Implementors

impl<'a> GradientStops for &'a [Color][src]

impl<'a> GradientStops for (Color, Color)[src]

impl<'a> GradientStops for (Color, Color, Color)[src]

impl<'a> GradientStops for (Color, Color, Color, Color)[src]

impl<'a> GradientStops for (Color, Color, Color, Color, Color)[src]

impl<'a> GradientStops for (Color, Color, Color, Color, Color, Color)[src]

Loading content...