#[repr(C)]pub struct astro_vector_t {
pub status: astro_status_t,
pub x: f64,
pub y: f64,
pub z: f64,
pub t: astro_time_t,
}Expand description
@brief A 3D Cartesian vector whose components are expressed in Astronomical Units (AU).
Fields§
§status: astro_status_t< ASTRO_SUCCESS if this struct is valid; otherwise an error code.
x: f64< The Cartesian x-coordinate of the vector in AU.
y: f64< The Cartesian y-coordinate of the vector in AU.
z: f64< The Cartesian z-coordinate of the vector in AU.
t: astro_time_t< The date and time at which this vector is valid.
Trait Implementations§
Source§impl Clone for astro_vector_t
impl Clone for astro_vector_t
Source§fn clone(&self) -> astro_vector_t
fn clone(&self) -> astro_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_vector_t
impl Debug for astro_vector_t
impl Copy for astro_vector_t
Auto Trait Implementations§
impl Freeze for astro_vector_t
impl RefUnwindSafe for astro_vector_t
impl Send for astro_vector_t
impl Sync for astro_vector_t
impl Unpin for astro_vector_t
impl UnwindSafe for astro_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