pub struct DateRange {
pub mode: u32,
pub min: (i32, u32, u32),
pub max: (i32, u32, u32),
}Expand description
what a calendar picks and between which dates (calendar): mode CAL_DAY, CAL_WEEK or
CAL_MONTH; min and max (year, month, day) inclusive – in CAL_WEEK the weeks that hold them, in
CAL_MONTH their months
Fields§
§mode: u32§min: (i32, u32, u32)§max: (i32, u32, u32)Implementations§
Trait Implementations§
impl Copy for DateRange
impl Eq for DateRange
impl StructuralPartialEq for DateRange
Auto Trait Implementations§
impl Forget for DateRange
impl Freeze for DateRange
impl Move for DateRange
impl RefUnwindSafe for DateRange
impl Send for DateRange
impl Sync for DateRange
impl Unpin for DateRange
impl UnsafeUnpin for DateRange
impl UnwindSafe for DateRange
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