pub struct ZiWeiStar {
pub star: &'static str,
pub kind: &'static str,
pub brightness: Option<&'static str>,
pub transformation: Option<&'static str>,
}Expand description
A star in a palace.
Fields§
§star: &'static strStar code, e.g. “zi_wei”, “wen_chang”.
kind: &'static str“major” (the fourteen), “auxiliary” or “malefic”.
brightness: Option<&'static str>Brightness in this branch: “miao”, “wang”, “de”, “li”, “ping”, “bu” or “xian”; None
where the table gives none.
transformation: Option<&'static str>The natal transformation it takes: “lu”, “quan”, “ke” or “ji”.
Trait Implementations§
impl StructuralPartialEq for ZiWeiStar
Auto Trait Implementations§
impl Freeze for ZiWeiStar
impl RefUnwindSafe for ZiWeiStar
impl Send for ZiWeiStar
impl Sync for ZiWeiStar
impl Unpin for ZiWeiStar
impl UnsafeUnpin for ZiWeiStar
impl UnwindSafe for ZiWeiStar
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