chore(calendar): add derive attributes
This commit is contained in:
parent
1914006cdd
commit
00a4042c40
1 changed files with 1 additions and 0 deletions
|
|
@ -42,6 +42,7 @@ pub fn set_day(date_selected: NaiveDate, day: u32) -> NaiveDate {
|
|||
}
|
||||
}
|
||||
|
||||
#[derive(Clone, Copy, PartialEq, Eq, PartialOrd, Ord, Debug, Hash)]
|
||||
pub struct CalendarModel {
|
||||
pub selected: NaiveDate,
|
||||
visible: NaiveDate,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue