Implement Copy on Fill and Stroke

This commit is contained in:
Vlad-Stefan Harbuz 2024-06-21 11:55:42 +01:00
parent 50dd2a6cc0
commit a7224a7827
4 changed files with 4 additions and 4 deletions

View file

@ -9,7 +9,7 @@ use bytemuck::{Pod, Zeroable};
use half::f16;
use std::cmp::Ordering;
#[derive(Debug, Clone, PartialEq)]
#[derive(Debug, Clone, Copy, PartialEq)]
/// A fill which linearly interpolates colors along a direction.
///
/// For a gradient which can be used as a fill for a background of a widget, see [`crate::core::Gradient`].