pub struct Nakshatra {
pub number: u8,
pub code: &'static str,
pub lord: &'static str,
pub pada: u8,
pub elapsed: f64,
}Expand description
The nakshatra of a sidereal longitude.
Fields§
§number: u81 (Ashwini) to 27 (Revati).
code: &'static strStable code, e.g. “ashwini”.
lord: &'static strIts Vimshottari lord.
pada: u8Quarter, 1 to 4.
elapsed: f64Fraction of the nakshatra already crossed, 0 to 1.
Trait Implementations§
impl StructuralPartialEq for Nakshatra
Auto Trait Implementations§
impl Freeze for Nakshatra
impl RefUnwindSafe for Nakshatra
impl Send for Nakshatra
impl Sync for Nakshatra
impl Unpin for Nakshatra
impl UnsafeUnpin for Nakshatra
impl UnwindSafe for Nakshatra
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