Skip to main content

Module target

Module target 

Source
Expand description

Conversion-target markers for the unified Time::to::<T>() API.

Format markers (JD, MJD, J2000s, Unix, GPS) and scale markers (TT, TAI, …) implement these traits. The source instant may carry any format phantom SrcF; storage is always the compensated J2000-second pair.

Traits§

ContextConversionTarget
Unified context-backed conversion target for Time<S, F>::to_with::<T>(&ctx).
ConversionTarget
Unified conversion target for Time<S, F>::try_to::<T>().
InfallibleConversionTarget
Unified infallible conversion target for Time<S, F>::to::<T>().