pub struct BodyPosition {
pub name: &'static str,
pub symbol: &'static str,
pub longitude: f64,
pub latitude: f64,
pub distance: f64,
pub speed: f64,
pub is_retrograde: bool,
}Expand description
Position and kinematic state of a celestial body or astrological point.
Fields§
§name: &'static strCommon name of the body (e.g. “Sun”, “Moon”, “Mars”).
symbol: &'static strAstronomical or astrological glyph symbol (e.g. “☉”, “☽”).
longitude: f64Degrees, tropical or sidereal as requested.
latitude: f64Ecliptic latitude in degrees.
distance: f64Distance from Earth center in astronomical units (au).
speed: f64Daily apparent motion speed in degrees per day.
is_retrograde: boolWhether the body is currently in retrograde motion.
Trait Implementations§
Source§impl Clone for BodyPosition
impl Clone for BodyPosition
Source§impl Debug for BodyPosition
impl Debug for BodyPosition
Source§impl PartialEq for BodyPosition
impl PartialEq for BodyPosition
impl StructuralPartialEq for BodyPosition
Auto Trait Implementations§
impl Freeze for BodyPosition
impl RefUnwindSafe for BodyPosition
impl Send for BodyPosition
impl Sync for BodyPosition
impl Unpin for BodyPosition
impl UnsafeUnpin for BodyPosition
impl UnwindSafe for BodyPosition
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