pub struct Calendar;
Implementations§
Trait Implementations§
source§impl Month<Calendar> for Month
impl Month<Calendar> for Month
fn ord(&self) -> u8
fn succ(&self) -> Self
fn pred(&self) -> Self
fn the_year(&self) -> Year
fn num_days(&self) -> usize
fn day(&self, day_ord: u8) -> Option<Day>
fn is_leap(&self) -> bool
fn first_day(&self) -> C::Day
fn last_day(&self) -> C::Day
fn days(&self) -> impl Iterator<Item = C::Day>
source§impl Year<Calendar> for Year
impl Year<Calendar> for Year
fn ord(&self) -> i32
fn succ(&self) -> Self
fn pred(&self) -> Self
fn num_months(&self) -> usize
fn month(&self, month_ord: u8) -> Option<Month>
fn first_month(&self) -> Month
fn last_month(&self) -> Month
fn months(&self) -> impl Iterator<Item = Month>
fn num_days(&self) -> usize
fn day(&self, ord: u16) -> Option<Day>
fn is_leap(&self) -> bool
fn first_day(&self) -> C::Day
fn last_day(&self) -> C::Day
fn days(&self) -> impl Iterator<Item = C::Day>
Auto Trait Implementations§
impl Freeze for Calendar
impl RefUnwindSafe for Calendar
impl Send for Calendar
impl Sync for Calendar
impl Unpin 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