Trait nyx_space::cosmic::NAIFSummaryRecord
pub trait NAIFSummaryRecord: NAIFRecord + Copy {
type Error: 'static + Error;
const NAME: &'static str;
// Required methods
fn start_index(&self) -> usize;
fn data_type(&self) -> Result<DataType, Self::Error>;
fn end_index(&self) -> usize;
fn start_epoch(&self) -> Epoch;
fn end_epoch(&self) -> Epoch;
fn start_epoch_et_s(&self) -> f64;
fn end_epoch_et_s(&self) -> f64;
fn id(&self) -> i32;
fn update_indexes(&mut self, start: usize, end: usize);
fn update_epochs(&mut self, start_epoch: Epoch, end_epoch: Epoch);
// Provided method
fn is_empty(&self) -> bool { ... }
}
Required Associated Types§
Required Associated Constants§
Required Methods§
fn start_index(&self) -> usize
fn data_type(&self) -> Result<DataType, Self::Error>
fn end_index(&self) -> usize
fn start_epoch(&self) -> Epoch
fn start_epoch(&self) -> Epoch
Returns the start epoch in high precision Epoch
fn start_epoch_et_s(&self) -> f64
fn start_epoch_et_s(&self) -> f64
Returns the start epoch in TDB seconds
fn end_epoch_et_s(&self) -> f64
fn end_epoch_et_s(&self) -> f64
Returns the end epoch in TDB seconds
fn update_indexes(&mut self, start: usize, end: usize)
fn update_indexes(&mut self, start: usize, end: usize)
Updates the indexes of this summary (used when modifying a DAF).
fn update_epochs(&mut self, start_epoch: Epoch, end_epoch: Epoch)
fn update_epochs(&mut self, start_epoch: Epoch, end_epoch: Epoch)
Updates the epochs of this summary (used when modifying a DAF).
Provided Methods§
Object Safety§
This trait is not object safe.