Struct practical_astronomy_rust::planetdata::PlanetInfo
source · pub struct PlanetInfo {
pub name: String,
pub tp: f64,
pub long: f64,
pub peri: f64,
pub ecc: f64,
pub axis: f64,
pub incl: f64,
pub node: f64,
pub theta0: f64,
pub v0: f64,
}
Expand description
Info about a planet:
name
– Name of planet.tp
– Period of orbit.long
– Longitude at the epoch.peri
– Longitude of the perihelion.ecc
– Eccentricity of the orbit.axis
– Semi-major axis of the orbit.incl
– Orbital inclination.node
– Longitude of the ascending node.theta0
– Angular diameter at 1 AU.v0
– Visual magnitude at 1 AU.
Fields§
§name: String
§tp: f64
§long: f64
§peri: f64
§ecc: f64
§axis: f64
§incl: f64
§node: f64
§theta0: f64
§v0: f64
Auto Trait Implementations§
impl RefUnwindSafe for PlanetInfo
impl Send for PlanetInfo
impl Sync for PlanetInfo
impl Unpin for PlanetInfo
impl UnwindSafe for PlanetInfo
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