pub trait DateStyler {
// Required method
fn get_style(&self, date: Date) -> Style;
}Expand description
Provides a method for styling a given date. Monthly is generic on this trait, so any type that implements this trait can be used.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".