Enum seed_datepicker::Msg
source · [−]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 RefUnwindSafe for Msg
impl Send for Msg
impl Sync for Msg
impl Unpin for Msg
impl UnwindSafe for Msg
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more