pub struct Calendar {
pub days: Vec<Day>,
pub tracked: Duration,
}Expand description
A computed calendar: whole weeks for a month, otherwise the period’s days.
Fields§
§days: Vec<Day>Every day of the grid, in order.
tracked: DurationTime worked in the period, counted like each day’s.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Calendar
impl RefUnwindSafe for Calendar
impl Send for Calendar
impl Sync for Calendar
impl Unpin for Calendar
impl UnsafeUnpin for Calendar
impl UnwindSafe for Calendar
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