Trait piet_common::GradientStops[][src]

pub trait GradientStops {
    fn to_vec(self) -> Vec<GradientStop, Global>;
}
Expand description

A flexible, ergonomic way to describe gradient stops.

Required methods

Convert into a vector of gradient steps.

Note: this method may be renamed into_vec in a future release.

Implementations on Foreign Types

Implementors