diff --git a/style/src/button.rs b/style/src/button.rs index 43d272164b..2281e32fe3 100644 --- a/style/src/button.rs +++ b/style/src/button.rs @@ -2,7 +2,7 @@ use iced_core::{Background, Color, Vector}; /// The appearance of a button. -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub struct Style { pub shadow_offset: Vector, pub background: Option, diff --git a/style/src/checkbox.rs b/style/src/checkbox.rs index 1c5f2460ef..566136bbc9 100644 --- a/style/src/checkbox.rs +++ b/style/src/checkbox.rs @@ -2,7 +2,7 @@ use iced_core::{Background, Color}; /// The appearance of a checkbox. -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub struct Style { pub background: Background, pub checkmark_color: Color, diff --git a/style/src/progress_bar.rs b/style/src/progress_bar.rs index 36be63f9ed..d0878c8474 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, diff --git a/style/src/radio.rs b/style/src/radio.rs index 83310e05b1..c41b70c031 100644 --- a/style/src/radio.rs +++ b/style/src/radio.rs @@ -2,7 +2,7 @@ use iced_core::{Background, Color}; /// The appearance of a radio button. -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] pub struct Style { pub background: Background, pub dot_color: Color,