pub struct CelestialBodyProfile {
pub name: String,
pub class: CelestialBodyClass,
pub usri: String,
pub mass_kg: f64,
pub equatorial_radius_m: f64,
pub rotation_period_s: f64,
pub surface: ReferenceSurface,
pub gravity: GravitationalField,
}Expand description
A celestial body profile (OCS §2).
Fields§
§name: String§class: CelestialBodyClass§usri: String§mass_kg: f64§equatorial_radius_m: f64§rotation_period_s: f64§surface: ReferenceSurface§gravity: GravitationalFieldImplementations§
Trait Implementations§
Source§impl Clone for CelestialBodyProfile
impl Clone for CelestialBodyProfile
Auto Trait Implementations§
impl Freeze for CelestialBodyProfile
impl RefUnwindSafe for CelestialBodyProfile
impl Send for CelestialBodyProfile
impl Sync for CelestialBodyProfile
impl Unpin for CelestialBodyProfile
impl UnsafeUnpin for CelestialBodyProfile
impl UnwindSafe for CelestialBodyProfile
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