#[repr(C)]pub struct CoordinateState {
pub epoch_mjd_tdb: f64,
pub elements: [f64; 6],
pub covariance: [[f64; 6]; 6],
pub has_covariance: u8,
pub representation: i32,
pub frame: i32,
pub origin: i32,
}Expand description
Flat C-ABI compatible coordinate state.
Field-identical to [empyrean_core::convert::CoordinateState]; the
duplicate definition exists so cbindgen (which has parse_deps = false) can emit the matching C struct in empyrean.h without
traversing into the empyrean-core crate.
Fields§
§epoch_mjd_tdb: f64§elements: [f64; 6]§covariance: [[f64; 6]; 6]§has_covariance: u8§representation: i32§frame: i32§origin: i32Trait Implementations§
Source§impl Clone for CoordinateState
impl Clone for CoordinateState
Source§fn clone(&self) -> CoordinateState
fn clone(&self) -> CoordinateState
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for CoordinateState
Source§impl Debug for CoordinateState
impl Debug for CoordinateState
Source§impl Default for CoordinateState
impl Default for CoordinateState
Source§fn default() -> CoordinateState
fn default() -> CoordinateState
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CoordinateState
impl RefUnwindSafe for CoordinateState
impl Send for CoordinateState
impl Sync for CoordinateState
impl Unpin for CoordinateState
impl UnsafeUnpin for CoordinateState
impl UnwindSafe for CoordinateState
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