From 2969558afd7da2443641e81ee84b4faa99eceba4 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Fri, 29 Jan 2021 14:08:14 +0900 Subject: impl Clone and Copy for all Style types in iced_style --- style/src/progress_bar.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'style/src/progress_bar.rs') diff --git a/style/src/progress_bar.rs b/style/src/progress_bar.rs index 36be63f9..d0878c84 100644 --- a/style/src/progress_bar.rs +++ b/style/src/progress_bar.rs @@ -2,7 +2,7 @@ use iced_core::{Background, Color}; /// The appearance of a progress bar. -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub struct Style { pub background: Background, pub bar: Background, -- cgit