pub struct Pillar {
pub stem: &'static str,
pub branch: &'static str,
pub cycle: u8,
pub element: &'static str,
pub polarity: &'static str,
pub branch_element: &'static str,
pub animal: &'static str,
pub ten_god: Option<&'static str>,
pub hidden_stems: Vec<HiddenStem>,
pub nayin: &'static str,
pub life_stage: &'static str,
}Expand description
A stem and a branch: one of the four pillars, or a luck pillar.
Fields§
§stem: &'static strHeavenly Stem code, e.g. “jia”.
branch: &'static strEarthly Branch code, e.g. “zi”.
cycle: u8Position in the sexagenary cycle, 0 (甲子) to 59 (癸亥).
element: &'static strElement of the stem.
polarity: &'static str“yang” or “yin”, of the stem and the branch alike.
branch_element: &'static strElement of the branch.
animal: &'static strAnimal of the branch.
ten_god: Option<&'static str>The stem’s relation to the Day Master; None for the Day Master itself.
The stems hidden in the branch, main qi first.
nayin: &'static strNaYin element of the pair, e.g. “sea_metal”.
life_stage: &'static strThe Day Master’s stage of life in this branch.
Trait Implementations§
impl StructuralPartialEq for Pillar
Auto Trait Implementations§
impl Freeze for Pillar
impl RefUnwindSafe for Pillar
impl Send for Pillar
impl Sync for Pillar
impl Unpin for Pillar
impl UnsafeUnpin for Pillar
impl UnwindSafe for Pillar
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