Skip to main content

View

Trait View 

Source
pub trait View: Template {
    // Provided method
    fn render_view(&self) -> Result<String, Error> { ... }
}
Expand description

Re-export the common Forge-style template builder.

Provided Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<T: Template> View for T