Struct tinted_builder::Template
source · pub struct Template { /* private fields */ }Implementations§
source§impl Template
impl Template
pub fn new(content: String) -> Result<Template>
pub fn render(&self, scheme: &Scheme) -> Result<String>
pub fn render_to_file( &self, output_path: &Path, scheme: &Scheme, ) -> Result<&Self>
👎Deprecated since 0.4.0: Please use the
render method instead and write the output to a file yourself.Auto Trait Implementations§
impl Freeze for Template
impl RefUnwindSafe for Template
impl Send for Template
impl Sync for Template
impl Unpin for Template
impl UnwindSafe for Template
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