Derive Copy for Theme
This commit is contained in:
parent
9966c6f883
commit
708be32e3d
3 changed files with 4 additions and 4 deletions
|
|
@ -21,7 +21,7 @@ use crate::toggler;
|
|||
|
||||
use iced_core::{Background, Color};
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub enum Theme {
|
||||
Light,
|
||||
Dark,
|
||||
|
|
@ -56,7 +56,7 @@ impl Default for Theme {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Debug, Clone, PartialEq)]
|
||||
#[derive(Debug, Clone, Copy, PartialEq)]
|
||||
pub struct Custom {
|
||||
palette: Palette,
|
||||
extended: Extended,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue