pub trait Renderable {
// Required method
fn render<'a>(
&'a self,
console: &Console,
options: &ConsoleOptions,
) -> Vec<Segment<'a>>;
}Expand description
Trait for objects that can be rendered to the console.
pub trait Renderable {
// Required method
fn render<'a>(
&'a self,
console: &Console,
options: &ConsoleOptions,
) -> Vec<Segment<'a>>;
}Trait for objects that can be rendered to the console.