pub struct CalendarMonth { /* private fields */ }Implementations§
Source§impl CalendarMonth
impl CalendarMonth
pub fn prev(&self) -> CalendarMonth
pub fn next(&self) -> CalendarMonth
pub fn days(&self) -> u8
pub fn weeks(&self, starting_weekday: Weekday) -> Vec<CalendarWeek>
Trait Implementations§
Source§impl Clone for CalendarMonth
impl Clone for CalendarMonth
Source§fn clone(&self) -> CalendarMonth
fn clone(&self) -> CalendarMonth
Returns a duplicate 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 CalendarMonth
impl Debug for CalendarMonth
Source§impl Display for CalendarMonth
impl Display for CalendarMonth
Source§impl Ord for CalendarMonth
impl Ord for CalendarMonth
Source§fn cmp(&self, other: &CalendarMonth) -> Ordering
fn cmp(&self, other: &CalendarMonth) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for CalendarMonth
impl PartialEq for CalendarMonth
Source§impl PartialOrd for CalendarMonth
impl PartialOrd for CalendarMonth
impl Copy for CalendarMonth
impl Eq for CalendarMonth
impl StructuralPartialEq for CalendarMonth
Auto Trait Implementations§
impl Freeze for CalendarMonth
impl RefUnwindSafe for CalendarMonth
impl Send for CalendarMonth
impl Sync for CalendarMonth
impl Unpin for CalendarMonth
impl UnsafeUnpin for CalendarMonth
impl UnwindSafe for CalendarMonth
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.