pub struct StateVector {
pub position: Vec3<Km>,
pub velocity: Vec3<KmPerSec>,
}Expand description
Cartesian state vector in an inertial frame.
Fields§
§position: Vec3<Km>Position vector (km)
velocity: Vec3<KmPerSec>Velocity vector (km/s)
Implementations§
Trait Implementations§
Source§impl Clone for StateVector
impl Clone for StateVector
Source§fn clone(&self) -> StateVector
fn clone(&self) -> StateVector
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 StateVector
impl Debug for StateVector
impl Copy for StateVector
Auto Trait Implementations§
impl Freeze for StateVector
impl RefUnwindSafe for StateVector
impl Send for StateVector
impl Sync for StateVector
impl Unpin for StateVector
impl UnwindSafe for StateVector
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