pub trait ConvertCalendar {
    type Converted<'a>;
    // Required method
    fn to_calendar<'a>(&self, calendar: &'a AnyCalendar) -> Self::Converted<'a>;
}Expand description
A type that can be converted into a specific calendar system.
Required Associated Types§
Required Methods§
Sourcefn to_calendar<'a>(&self, calendar: &'a AnyCalendar) -> Self::Converted<'a>
 
fn to_calendar<'a>(&self, calendar: &'a AnyCalendar) -> Self::Converted<'a>
Converts self to the specified AnyCalendar.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.