#[non_exhaustive]pub enum DateMonth {
Show 13 variants
BadMonth,
January,
February,
March,
April,
May,
June,
July,
August,
September,
October,
November,
December,
}
Expand description
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
BadMonth
invalid value
January
January
February
February
March
March
April
April
May
May
June
June
July
July
August
August
September
September
October
October
November
November
December
December
Trait Implementations§
Source§impl Ord for DateMonth
impl Ord for DateMonth
Source§impl PartialOrd for DateMonth
impl PartialOrd for DateMonth
impl Copy for DateMonth
impl Eq for DateMonth
impl StructuralPartialEq for DateMonth
Auto Trait Implementations§
impl Freeze for DateMonth
impl RefUnwindSafe for DateMonth
impl Send for DateMonth
impl Sync for DateMonth
impl Unpin for DateMonth
impl UnwindSafe for DateMonth
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