pub enum Calendar {
Gregorian,
Standard,
ProlepticGregorian,
Day365,
NoLeap,
Day366,
AllLeap,
Julian,
Day360,
}Variants§
Trait Implementations§
source§impl Ord for Calendar
impl Ord for Calendar
source§impl PartialEq for Calendar
impl PartialEq for Calendar
source§impl PartialOrd for Calendar
impl PartialOrd for Calendar
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for Calendar
impl Eq for Calendar
impl StructuralEq for Calendar
impl StructuralPartialEq for Calendar
Auto Trait Implementations§
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