impl Clone and Copy for all Style types in iced_style

This commit is contained in:
Taiki Endo 2021-01-29 14:08:14 +09:00
parent 8d882d787e
commit 2969558afd
4 changed files with 4 additions and 4 deletions

View file

@ -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<Background>,