pub enum WeekFormat {
XingQi,
Zhou,
LiBai,
}Expand description
The Chinese ways to describe a week.
Variants§
Trait Implementations§
Source§impl ChineseFormat for WeekFormat
Each WeekFormat can be converted to Chinese:
impl ChineseFormat for WeekFormat
Each WeekFormat can be converted to Chinese:
fn to_chinese(&self, variant: Variant) -> Chinese
Source§impl Clone for WeekFormat
impl Clone for WeekFormat
Source§fn clone(&self) -> WeekFormat
fn clone(&self) -> WeekFormat
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for WeekFormat
impl Debug for WeekFormat
Source§impl Default for WeekFormat
The default for WeekFormat.
impl Default for WeekFormat
The default for WeekFormat.
Source§impl Hash for WeekFormat
impl Hash for WeekFormat
Source§impl Ord for WeekFormat
impl Ord for WeekFormat
Source§impl PartialEq for WeekFormat
impl PartialEq for WeekFormat
Source§impl PartialOrd for WeekFormat
impl PartialOrd for WeekFormat
impl Copy for WeekFormat
impl Eq for WeekFormat
impl StructuralPartialEq for WeekFormat
Auto Trait Implementations§
impl Freeze for WeekFormat
impl RefUnwindSafe for WeekFormat
impl Send for WeekFormat
impl Sync for WeekFormat
impl Unpin for WeekFormat
impl UnwindSafe for WeekFormat
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)