Derive Clone and Copy for toggler::Appearance
This commit is contained in:
parent
d95c216b2d
commit
dbd76ea21c
1 changed files with 1 additions and 1 deletions
|
|
@ -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>,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue