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.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".