pub trait ColorDisplay {
// Required method
fn fmt(&self, f: &mut Formatter<'_>, color: Color) -> Result;
// Provided method
fn color_display(&self, color: Color) -> Wrapper<'_>
where Self: Sized { ... }
}
pub trait ColorDisplay {
// Required method
fn fmt(&self, f: &mut Formatter<'_>, color: Color) -> Result;
// Provided method
fn color_display(&self, color: Color) -> Wrapper<'_>
where Self: Sized { ... }
}