pub struct Observations {
pub id: Vec<u64>,
pub time_mjd: Vec<f64>,
pub ra: Vec<f64>,
pub dec: Vec<f64>,
pub observatory_code: Vec<u32>,
pub object_id: Vec<u64>,
pub night: Vec<i64>,
}Expand description
Built-in struct-of-arrays observation storage.
Fields§
§id: Vec<u64>§time_mjd: Vec<f64>§ra: Vec<f64>§dec: Vec<f64>§observatory_code: Vec<u32>§object_id: Vec<u64>Object ID per observation. NO_OBJECT means no association.
night: Vec<i64>Implementations§
Trait Implementations§
Source§impl Clone for Observations
impl Clone for Observations
Source§fn clone(&self) -> Observations
fn clone(&self) -> Observations
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 Observations
impl Debug for Observations
Source§impl ObservationTable for Observations
impl ObservationTable for Observations
fn len(&self) -> usize
fn ids(&self) -> &[u64]
fn times_mjd(&self) -> &[f64]
fn ra(&self) -> &[f64]
fn dec(&self) -> &[f64]
fn nights(&self) -> &[i64]
Source§fn object_ids(&self) -> &[u64]
fn object_ids(&self) -> &[u64]
Object IDs.
NO_OBJECT (u64::MAX) means no association.fn observatory_codes(&self) -> &[u32]
fn is_empty(&self) -> bool
Auto Trait Implementations§
impl Freeze for Observations
impl RefUnwindSafe for Observations
impl Send for Observations
impl Sync for Observations
impl Unpin for Observations
impl UnsafeUnpin for Observations
impl UnwindSafe for Observations
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more