pub struct ClockModel {
pub base: Scale,
pub reference: Dt,
pub drift: Drift,
}Expand description
A fully self-describing custom relativistic time scale.
Bundles a base Scale (Custom) with the quadratic
polynomial and reference epoch needed for exact conversion to any other scale
(typically TT or TDB).
Fields§
§base: ScaleBase scale (usually Custom)
reference: DtEpoch at which the polynomial was defined (e.g. last ground contact)
drift: DriftOffset
Implementations§
Trait Implementations§
Source§impl Clone for ClockModel
impl Clone for ClockModel
Source§fn clone(&self) -> ClockModel
fn clone(&self) -> ClockModel
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 moreSource§impl Debug for ClockModel
impl Debug for ClockModel
Source§impl PartialEq for ClockModel
impl PartialEq for ClockModel
Source§fn eq(&self, other: &ClockModel) -> bool
fn eq(&self, other: &ClockModel) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ClockModel
impl StructuralPartialEq for ClockModel
Auto Trait Implementations§
impl Freeze for ClockModel
impl RefUnwindSafe for ClockModel
impl Send for ClockModel
impl Sync for ClockModel
impl Unpin for ClockModel
impl UnsafeUnpin for ClockModel
impl UnwindSafe for ClockModel
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