pub enum Msg {
DateSelected(NaiveDate),
MonthSelected(MonthNumber),
YearSelected(YearNumber),
OpenDialog(Option<(String, String)>),
CloseDialog,
PreviousButtonClicked,
NextButtonClicked,
DialogTitleClicked,
}
Expand description
Msg
describes the different events you can modify state with.
Variants§
DateSelected(NaiveDate)
MonthSelected(MonthNumber)
YearSelected(YearNumber)
OpenDialog(Option<(String, String)>)
open the dialog, optionally at the given (left, top) position
CloseDialog
PreviousButtonClicked
NextButtonClicked
DialogTitleClicked
clicks on the dialog title change the DialogViewType
Auto Trait Implementations§
impl Freeze for Msg
impl RefUnwindSafe for Msg
impl Send for Msg
impl Sync for Msg
impl Unpin for Msg
impl UnwindSafe for Msg
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more