chore(calendar): add derive attributes
This commit is contained in:
parent
a6ffeb2abe
commit
3a9aff13d6
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