pub struct State {
pub position: Rectangular,
pub velocity: Vector3D,
}
Expand description
A Cartesian state vector representing the position and velocity of the target body relative to the specified observer
Fields
position: Rectangular
velocity: Vector3D
Trait Implementations
sourceimpl From<[f64; 6]> for State
impl From<[f64; 6]> for State
sourcefn from(state: [SpiceDouble; 6]) -> Self
fn from(state: [SpiceDouble; 6]) -> Self
Converts to this type from the input type.
sourceimpl From<State> for (Rectangular, Vector3D)
impl From<State> for (Rectangular, Vector3D)
impl Copy for State
impl StructuralPartialEq for State
Auto Trait Implementations
impl RefUnwindSafe for State
impl Send for State
impl Sync for State
impl Unpin for State
impl UnwindSafe for State
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more