pub trait Renderer {
type Output: Display;
fn render_with_hints(
&self,
table: &Table,
hints: &[RenderHint]
) -> Self::Output;
fn render(&self, table: &Table) -> Self::Output { ... }
}
pub trait Renderer {
type Output: Display;
fn render_with_hints(
&self,
table: &Table,
hints: &[RenderHint]
) -> Self::Output;
fn render(&self, table: &Table) -> Self::Output { ... }
}