Struct Gradient
adi_gpu
pub struct Gradient(_);
A list of colors to be paired with vertices.
impl Gradient
fn new(display: &mut Display, colors: &[f32]) -> Gradient
Create a new gradient.
impl Copy for Gradient
impl Clone for Gradient
fn clone(&self) -> Gradient
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
source