pub trait Render { // Required method fn render(&self) -> Template; }
Render trait for rust_html templates
Implement this trait on a struct to create reusable struct components that you can reuse inside other templates.