Skip to main content

Render

Trait Render 

Source
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".

Implementations on Foreign Types§

Source§

impl Render for Vec<TemplatePart>

Implementors§