pub struct OrbiterConfig {
pub name: String,
pub mass_kg: f64,
pub semi_major_axis_m: f64,
pub eccentricity: f64,
pub initial_true_anomaly_rad: f64,
}Expand description
Orbiter configuration.
Fields§
§name: String§mass_kg: f64§semi_major_axis_m: f64§eccentricity: f64§initial_true_anomaly_rad: f64Trait Implementations§
Source§impl Clone for OrbiterConfig
impl Clone for OrbiterConfig
Source§fn clone(&self) -> OrbiterConfig
fn clone(&self) -> OrbiterConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for OrbiterConfig
impl Debug for OrbiterConfig
Source§impl<'de> Deserialize<'de> for OrbiterConfig
impl<'de> Deserialize<'de> for OrbiterConfig
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
Auto Trait Implementations§
impl Freeze for OrbiterConfig
impl RefUnwindSafe for OrbiterConfig
impl Send for OrbiterConfig
impl Sync for OrbiterConfig
impl Unpin for OrbiterConfig
impl UnsafeUnpin for OrbiterConfig
impl UnwindSafe for OrbiterConfig
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