pub struct SolarState {
pub true_longitude_degrees: f64,
pub apparent_longitude_degrees: f64,
pub radius_au: f64,
}Expand description
Geocentric solar ecliptic state at a Julian Ephemeris Day (TT).
Fields§
§true_longitude_degrees: f64Geocentric ecliptic longitude, mean equinox of date (no nutation/
aberration), in degrees [0, 360).
apparent_longitude_degrees: f64Apparent geocentric ecliptic longitude — true plus IAU2000B nutation
in longitude and aberration (true equinox of date), in degrees [0, 360).
radius_au: f64Sun–Earth distance in astronomical units.
Trait Implementations§
Source§impl Clone for SolarState
impl Clone for SolarState
Source§fn clone(&self) -> SolarState
fn clone(&self) -> SolarState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SolarState
Source§impl Debug for SolarState
impl Debug for SolarState
Source§impl PartialEq for SolarState
impl PartialEq for SolarState
Source§fn eq(&self, other: &SolarState) -> bool
fn eq(&self, other: &SolarState) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for SolarState
Auto Trait Implementations§
impl Freeze for SolarState
impl RefUnwindSafe for SolarState
impl Send for SolarState
impl Sync for SolarState
impl Unpin for SolarState
impl UnsafeUnpin for SolarState
impl UnwindSafe for SolarState
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