pub struct Template { /* private fields */ }
Implementations§
Source§impl Template
impl Template
pub fn new( template_type: TemplateType, file_name: impl Into<String>, file_path: impl Into<String>, ) -> Self
pub fn file_path(&self) -> &str
pub fn template_name(&self) -> &str
pub fn template_type(&self) -> TemplateType
Trait Implementations§
impl StructuralPartialEq for Template
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