From dbd76ea21c5f5dd8ad16632ba39dc672cec0fcbd Mon Sep 17 00:00:00 2001 From: MG_REX <49415741+ThisIsRex@users.noreply.github.com> Date: Fri, 6 May 2022 22:10:29 +0300 Subject: Derive `Clone` and `Copy` for `toggler::Appearance` --- style/src/toggler.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'style/src') diff --git a/style/src/toggler.rs b/style/src/toggler.rs index 4ee7db46..0acf8e97 100644 --- a/style/src/toggler.rs +++ b/style/src/toggler.rs @@ -2,7 +2,7 @@ use iced_core::Color; /// The appearance of a toggler. -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub struct Appearance { pub background: Color, pub background_border: Option, -- cgit