Trait nyx_space::TimeTagged[][src]

pub trait TimeTagged {
    fn epoch(&self) -> Epoch;
fn set_epoch(&mut self, epoch: Epoch); fn shift_by(&mut self, duration: Duration) { ... } }
Expand description

A trait allowing for something to have an epoch

Required methods

Retrieve the Epoch

Set the Epoch

Provided methods

Shift this epoch by a duration (can be negative)

Implementors