#[non_exhaustive]pub enum AstroType {
Heaven,
Earth,
Human,
}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.
Implementations§
Trait Implementations§
impl Copy for AstroType
Source§impl<'de> Deserialize<'de> for AstroType
impl<'de> Deserialize<'de> for AstroType
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 AstroType
impl StructuralPartialEq for AstroType
Auto Trait Implementations§
impl Freeze for AstroType
impl RefUnwindSafe for AstroType
impl Send for AstroType
impl Sync for AstroType
impl Unpin for AstroType
impl UnsafeUnpin for AstroType
impl UnwindSafe for AstroType
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