pub struct TemplateEngine { /* private fields */ }Expand description
Template engine for processing dynamic configuration
Implementations§
Source§impl TemplateEngine
impl TemplateEngine
Sourcepub fn process_args(&mut self, args_config: &ArgsConfig) -> Result<Vec<String>>
pub fn process_args(&mut self, args_config: &ArgsConfig) -> Result<Vec<String>>
Process arguments based on configuration
Sourcepub fn render_template(&mut self, template: &str) -> Result<String>
pub fn render_template(&mut self, template: &str) -> Result<String>
Render a single template string
Auto Trait Implementations§
impl Freeze for TemplateEngine
impl RefUnwindSafe for TemplateEngine
impl Send for TemplateEngine
impl Sync for TemplateEngine
impl Unpin for TemplateEngine
impl UnwindSafe for TemplateEngine
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more