sailfish/sailfish/src/lib.rs

13 lines
221 B
Rust

pub mod runtime;
pub use runtime::{RenderError, RenderResult};
pub trait TemplateOnce {
fn render_once(self) -> runtime::RenderResult;
}
/// WIP
pub trait Template {
fn render(self) -> runtime::RenderResult;
}