Struct Gradient
adi_screen
pub struct Gradient(_);
A collection of colors, one for each vertex.
impl Gradient
pub fn new(window: &mut Window, data: &[f32]) -> Gradient
Create new Gradient based on data.
Gradient
data
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
impl Send for Gradient
impl Sync for Gradient