pub trait Render {
// Required methods
fn render(&self) -> HashMap<&'static str, String>;
fn keys() -> Box<dyn Iterator<Item = &'static str>>;
}
Expand description
A type whose contents can be rendered into a template
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.