pub trait ConversionTarget<S: Scale, SrcF: TimeFormat = J2000s>: Sealed {
type Output;
// Required method
fn try_convert(src: Time<S, SrcF>) -> Result<Self::Output, ConversionError>;
}Expand description
Unified conversion target for Time<S, F>::try_to::<T>().
Required Associated Types§
Required Methods§
fn try_convert(src: Time<S, SrcF>) -> Result<Self::Output, ConversionError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".