#[repr(u8)]pub enum SolarDay {
Show 31 variants
First = 1,
Second = 2,
Third = 3,
Fourth = 4,
Fifth = 5,
Sixth = 6,
Seventh = 7,
Eighth = 8,
Ninth = 9,
Tenth = 10,
Eleventh = 11,
Twelfth = 12,
Thirteen = 13,
Fourteen = 14,
Fifteen = 15,
Sixteen = 16,
Seventeen = 17,
Eighteen = 18,
Nineteen = 19,
Twenty = 20,
TwentyFirst = 21,
TwentySecond = 22,
TwentyThird = 23,
TwentyFourth = 24,
TwentyFifth = 25,
TwentySixth = 26,
TwentySeventh = 27,
TwentyEighth = 28,
TwentyNinth = 29,
Thirty = 30,
ThirtyFirst = 31,
}
Expand description
列舉西曆三十一個天數名稱:一、二、…、十一、十二、…、二十一、二十二、…、三十、三十一。
Variants§
First = 1
一
Second = 2
二
Third = 3
三
Fourth = 4
四
Fifth = 5
五
Sixth = 6
六
Seventh = 7
七
Eighth = 8
八
Ninth = 9
九
Tenth = 10
十
Eleventh = 11
十一
Twelfth = 12
十二
Thirteen = 13
十三
Fourteen = 14
十四
Fifteen = 15
十五
Sixteen = 16
十六
Seventeen = 17
十七
Eighteen = 18
十八
Nineteen = 19
十九
Twenty = 20
二十
TwentyFirst = 21
二十一
TwentySecond = 22
二十二
TwentyThird = 23
二十三
TwentyFourth = 24
二十四
TwentyFifth = 25
二十五
TwentySixth = 26
二十六
TwentySeventh = 27
二十七
TwentyEighth = 28
二十八
TwentyNinth = 29
二十九
Thirty = 30
三十
ThirtyFirst = 31
三十一
Implementations§
Trait Implementations§
source§impl Ord for SolarDay
impl Ord for SolarDay
source§impl PartialEq for SolarDay
impl PartialEq for SolarDay
source§impl PartialOrd for SolarDay
impl PartialOrd for SolarDay
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 SolarDay
impl Eq for SolarDay
impl StructuralEq for SolarDay
impl StructuralPartialEq for SolarDay
Auto Trait Implementations§
impl RefUnwindSafe for SolarDay
impl Send for SolarDay
impl Sync for SolarDay
impl Unpin for SolarDay
impl UnwindSafe for SolarDay
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