pub struct Graha {
pub name: &'static str,
pub longitude: f64,
pub sign: &'static str,
pub degree: f64,
pub house: u8,
pub is_retrograde: bool,
pub nakshatra: Nakshatra,
pub vargottama: bool,
}Expand description
A body or the Ascendant in the sidereal zodiac.
Fields§
§name: &'static strBody name, or “Ascendant”.
longitude: f64Sidereal longitude, degrees.
sign: &'static strSign name, e.g. “Taurus”.
degree: f64Degrees within the sign.
house: u8Whole-sign house from the Ascendant (1 for the Ascendant itself).
is_retrograde: boolWhether the body is retrograde.
nakshatra: NakshatraIts nakshatra.
vargottama: boolIn the same sign in the navamsha (D9) as in the rashi (D1).
Trait Implementations§
impl StructuralPartialEq for Graha
Auto Trait Implementations§
impl Freeze for Graha
impl RefUnwindSafe for Graha
impl Send for Graha
impl Sync for Graha
impl Unpin for Graha
impl UnsafeUnpin for Graha
impl UnwindSafe for Graha
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