pub enum Yuan {
Upper,
Middle,
Lower,
}Expand description
The five-day yuan determined from the day’s 甲/己 head.
Variants§
Upper
上元: the head’s branch is 子午卯酉.
Middle
中元: the head’s branch is 寅申巳亥.
Lower
下元: the head’s branch is 辰戌丑未.
Implementations§
Trait Implementations§
impl Copy for Yuan
Source§impl<'de> Deserialize<'de> for Yuan
impl<'de> Deserialize<'de> for Yuan
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Yuan
impl StructuralPartialEq for Yuan
Auto Trait Implementations§
impl Forget for Yuan
impl Freeze for Yuan
impl Move for Yuan
impl RefUnwindSafe for Yuan
impl Send for Yuan
impl Sync for Yuan
impl Unpin for Yuan
impl UnsafeUnpin for Yuan
impl UnwindSafe for Yuan
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