1 2 3 4 5 6 7 8 9 10 11 12 13
pub mod runtime; pub use runtime::{RenderError, RenderResult}; /// Template that can be rendered with consuming itself. pub trait TemplateOnce { fn render_once(self) -> runtime::RenderResult; } /// WIP pub trait Template { fn render(&self) -> runtime::RenderResult; }