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