#[repr(C)]pub struct astro_state_vector_t {
pub status: astro_status_t,
pub x: f64,
pub y: f64,
pub z: f64,
pub vx: f64,
pub vy: f64,
pub vz: f64,
pub t: astro_time_t,
}Expand description
@brief A state vector that contains a position (AU) and velocity (AU/day).
Fields§
§status: astro_status_t< ASTRO_SUCCESS if this struct is valid; otherwise an error code.
x: f64< The Cartesian position x-coordinate of the vector in AU.
y: f64< The Cartesian position y-coordinate of the vector in AU.
z: f64< The Cartesian position z-coordinate of the vector in AU.
vx: f64< The Cartesian velocity x-coordinate of the vector in AU/day.
vy: f64< The Cartesian velocity y-coordinate of the vector in AU/day.
vz: f64< The Cartesian velocity z-coordinate of the vector in AU/day.
t: astro_time_t< The date and time at which this state vector is valid.
Trait Implementations§
Source§impl Clone for astro_state_vector_t
impl Clone for astro_state_vector_t
Source§fn clone(&self) -> astro_state_vector_t
fn clone(&self) -> astro_state_vector_t
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 astro_state_vector_t
impl Debug for astro_state_vector_t
impl Copy for astro_state_vector_t
Auto Trait Implementations§
impl Freeze for astro_state_vector_t
impl RefUnwindSafe for astro_state_vector_t
impl Send for astro_state_vector_t
impl Sync for astro_state_vector_t
impl Unpin for astro_state_vector_t
impl UnwindSafe for astro_state_vector_t
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