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.
pub trait DateStyler {
// Required method
fn get_style(&self, date: Date) -> Style;
}
Provides a method for styling a given date. Monthly is generic on this trait, so any type that implements this trait can be used.