pub trait Render {
// Required methods
fn render(&self, op: &RenderOptions) -> Result<String, Error>;
fn print(&self);
}
Expand description
Provides the function to render the object with RenderOptions
into String
pub trait Render {
// Required methods
fn render(&self, op: &RenderOptions) -> Result<String, Error>;
fn print(&self);
}
Provides the function to render the object with RenderOptions
into String