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