pub struct CentralBodyConfig {
pub name: String,
pub mass_kg: f64,
pub position: [f64; 3],
}Expand description
Central body configuration.
Fields§
§name: String§mass_kg: f64§position: [f64; 3]Trait Implementations§
Source§impl Clone for CentralBodyConfig
impl Clone for CentralBodyConfig
Source§fn clone(&self) -> CentralBodyConfig
fn clone(&self) -> CentralBodyConfig
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 CentralBodyConfig
impl Debug for CentralBodyConfig
Source§impl<'de> Deserialize<'de> for CentralBodyConfig
impl<'de> Deserialize<'de> for CentralBodyConfig
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 CentralBodyConfig
impl RefUnwindSafe for CentralBodyConfig
impl Send for CentralBodyConfig
impl Sync for CentralBodyConfig
impl Unpin for CentralBodyConfig
impl UnsafeUnpin for CentralBodyConfig
impl UnwindSafe for CentralBodyConfig
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