pub struct DayPickerModifiers {
pub disabled: Vec<DayMatcher>,
pub hidden: Vec<DayMatcher>,
}Expand description
A headless representation of react-day-picker’s “modifiers” input, focusing on the
built-in disabled and hidden buckets.
Fields§
§disabled: Vec<DayMatcher>Implementations§
Source§impl DayPickerModifiers
impl DayPickerModifiers
pub fn disabled_by(self, matcher: DayMatcher) -> DayPickerModifiers
Trait Implementations§
Source§impl Clone for DayPickerModifiers
impl Clone for DayPickerModifiers
Source§fn clone(&self) -> DayPickerModifiers
fn clone(&self) -> DayPickerModifiers
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DayPickerModifiers
impl Debug for DayPickerModifiers
Source§impl Default for DayPickerModifiers
impl Default for DayPickerModifiers
Source§fn default() -> DayPickerModifiers
fn default() -> DayPickerModifiers
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for DayPickerModifiers
impl !RefUnwindSafe for DayPickerModifiers
impl Send for DayPickerModifiers
impl Sync for DayPickerModifiers
impl Unpin for DayPickerModifiers
impl UnsafeUnpin for DayPickerModifiers
impl !UnwindSafe for DayPickerModifiers
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