pub struct OrbitInfo {
pub semi_major_axis: f32,
pub eccentricity: f32,
pub orbital_inclination: f32,
pub periapsis: f32,
pub orbital_period: f32,
pub ascending_node: Option<f32>,
pub mean_anomaly: Option<f32>,
}
Fields§
§semi_major_axis: f32
Orbital radius in meters (why?!)
eccentricity: f32
§orbital_inclination: f32
§periapsis: f32
§orbital_period: f32
§ascending_node: Option<f32>
§mean_anomaly: Option<f32>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for OrbitInfo
impl<'de> Deserialize<'de> for OrbitInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for OrbitInfo
Auto Trait Implementations§
impl Freeze for OrbitInfo
impl RefUnwindSafe for OrbitInfo
impl Send for OrbitInfo
impl Sync for OrbitInfo
impl Unpin for OrbitInfo
impl UnwindSafe for OrbitInfo
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