Trait Renderable

Source
pub trait Renderable {
    // Required methods
    fn render(&self, headers: bool) -> String;
    fn simple_render(&self) -> String;
}
Expand description

Provides the ability for an object to be rendered to the command line

Required Methods§

Source

fn render(&self, headers: bool) -> String

Render aims to render as much detail as possible and can render to multiple lines

Source

fn simple_render(&self) -> String

Simple render aims to output to a single line

Implementors§