Struct seed_datepicker::Model
source · [−]pub struct Model<T> where
T: HasDateConstraints + Default + Clone, { /* private fields */ }
Expand description
Model
describes the current datepicker state.
Implementations
sourceimpl<T: HasDateConstraints + Default + Clone> Model<T>
impl<T: HasDateConstraints + Default + Clone> Model<T>
sourcepub fn selected_date(&self) -> &Option<NaiveDate>
pub fn selected_date(&self) -> &Option<NaiveDate>
selected value of the datepicker
pub fn config(&self) -> &PickerConfig<T>
Auto Trait Implementations
impl<T> RefUnwindSafe for Model<T> where
T: RefUnwindSafe,
impl<T> Send for Model<T> where
T: Send,
impl<T> Sync for Model<T> where
T: Sync,
impl<T> Unpin for Model<T> where
T: Unpin,
impl<T> UnwindSafe for Model<T> where
T: UnwindSafe,
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