use std::path::Path; use std::path::PathBuf; use crate::error::CustomError; pub trait RendererIntegration { fn load_templates(&mut self, dust_templates: I) -> Result<(), CustomError> where I: Iterator, P: Into; fn render

(&self, context: &str, build_directory: P) -> Result where P: AsRef; }