Derive Clone and Copy for toggler::Appearance

This commit is contained in:
MG_REX 2022-05-06 22:10:29 +03:00 committed by Héctor Ramón Jiménez
parent d95c216b2d
commit dbd76ea21c
No known key found for this signature in database
GPG key ID: 140CC052C94F138E

View file

@ -2,7 +2,7 @@
use iced_core::Color; use iced_core::Color;
/// The appearance of a toggler. /// The appearance of a toggler.
#[derive(Debug)] #[derive(Debug, Clone, Copy)]
pub struct Appearance { pub struct Appearance {
pub background: Color, pub background: Color,
pub background_border: Option<Color>, pub background_border: Option<Color>,