pub trait Rendering {
// Required method
fn render(&self, opts: &SummaryOptions) -> String;
// Provided method
fn render_with_suffix(&self, suffix: &str, opts: &SummaryOptions) -> String { ... }
}Required Methods§
fn render(&self, opts: &SummaryOptions) -> String
Provided Methods§
fn render_with_suffix(&self, suffix: &str, opts: &SummaryOptions) -> String
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".