pub struct CentralForceField {
pub mu: f64,
pub center: Vec3,
}Expand description
Central force field (e.g., gravity toward origin).
Fields§
§mu: f64Gravitational parameter (G * M).
center: Vec3Center position.
Implementations§
Trait Implementations§
Source§impl Clone for CentralForceField
impl Clone for CentralForceField
Source§fn clone(&self) -> CentralForceField
fn clone(&self) -> CentralForceField
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 CentralForceField
impl Debug for CentralForceField
Auto Trait Implementations§
impl Freeze for CentralForceField
impl RefUnwindSafe for CentralForceField
impl Send for CentralForceField
impl Sync for CentralForceField
impl Unpin for CentralForceField
impl UnsafeUnpin for CentralForceField
impl UnwindSafe for CentralForceField
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