From ff49a95ecab6ef9cdf67d9a7fa472e115f064bb4 Mon Sep 17 00:00:00 2001 From: Cory Forsstrom Date: Wed, 4 Jan 2023 09:52:42 -0800 Subject: Make location copy --- graphics/src/gradient.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/src/gradient.rs') diff --git a/graphics/src/gradient.rs b/graphics/src/gradient.rs index 83f25238..42a700f4 100644 --- a/graphics/src/gradient.rs +++ b/graphics/src/gradient.rs @@ -64,7 +64,7 @@ impl From<(Point, Point)> for Position { } } -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] /// The location of a relatively-positioned gradient. pub enum Location { /// Top left. -- cgit