pub struct CalendarDay {
pub date: DateValue,
pub in_month: bool,
}Expand description
One cell in the fixed six-week grid returned by month_grid.
§Examples
use ailloli_ui_core::date_picker::CalendarDay;
use ailloli_ui_core::DateValue;
let day = CalendarDay { date: DateValue::new(2026, 5, 1), in_month: true };
assert!(day.in_month);Fields§
§date: DateValueDate represented by this cell.
in_month: booltrue when date belongs to the requested month; false for padding.
Trait Implementations§
Source§impl Clone for CalendarDay
impl Clone for CalendarDay
Source§fn clone(&self) -> CalendarDay
fn clone(&self) -> CalendarDay
Returns a copy 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 CalendarDay
impl Debug for CalendarDay
Source§impl PartialEq for CalendarDay
impl PartialEq for CalendarDay
impl Copy for CalendarDay
impl Eq for CalendarDay
impl StructuralPartialEq for CalendarDay
Auto Trait Implementations§
impl Freeze for CalendarDay
impl RefUnwindSafe for CalendarDay
impl Send for CalendarDay
impl Sync for CalendarDay
impl Unpin for CalendarDay
impl UnwindSafe for CalendarDay
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