pub enum CalendarDayFill {
None,
Selected,
InRange,
}Expand description
Selection-derived fill state for a day cell. The reactive signal in
CalendarDayConfig recomputes on every selection change without
re-build()ing the cell.
Variants§
None
No selection touches this cell.
Selected
This cell is the single-selection target or a range endpoint.
InRange
This cell falls inside a multi-day range, not on an endpoint.
Trait Implementations§
Source§impl Clone for CalendarDayFill
impl Clone for CalendarDayFill
Source§fn clone(&self) -> CalendarDayFill
fn clone(&self) -> CalendarDayFill
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CalendarDayFill
Source§impl Debug for CalendarDayFill
impl Debug for CalendarDayFill
Source§impl Default for CalendarDayFill
impl Default for CalendarDayFill
Source§fn default() -> CalendarDayFill
fn default() -> CalendarDayFill
Returns the “default value” for a type. Read more
impl Eq for CalendarDayFill
Source§impl PartialEq for CalendarDayFill
impl PartialEq for CalendarDayFill
impl StructuralPartialEq for CalendarDayFill
Auto Trait Implementations§
impl Freeze for CalendarDayFill
impl RefUnwindSafe for CalendarDayFill
impl Send for CalendarDayFill
impl Sync for CalendarDayFill
impl Unpin for CalendarDayFill
impl UnsafeUnpin for CalendarDayFill
impl UnwindSafe for CalendarDayFill
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