diff options
author | 2024-06-21 11:55:42 +0100 | |
---|---|---|
committer | 2024-06-21 11:58:35 +0100 | |
commit | a7224a782751f2927b8bcce7ade26d3557563ae5 (patch) | |
tree | f87f385221302d45ecbd4fac7465453e404ca7ad /graphics/src/gradient.rs | |
parent | 50dd2a6cc03fdc184b7a9fb0f7a659952a742a79 (diff) | |
download | iced-a7224a782751f2927b8bcce7ade26d3557563ae5.tar.gz iced-a7224a782751f2927b8bcce7ade26d3557563ae5.tar.bz2 iced-a7224a782751f2927b8bcce7ade26d3557563ae5.zip |
Implement Copy on Fill and Stroke
Diffstat (limited to '')
-rw-r--r-- | graphics/src/gradient.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/src/gradient.rs b/graphics/src/gradient.rs index 603f1b4a..54261721 100644 --- a/graphics/src/gradient.rs +++ b/graphics/src/gradient.rs @@ -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`]. |