pub struct FileSystemLoader { /* private fields */ }Expand description
Loads template files from a directory. Names are relative paths under root (POSIX-style
separators work on all platforms). .., absolute paths, and Windows path prefixes in name are
rejected. Resolved paths are canonicalized so symbolic links cannot escape root.
Implementations§
Trait Implementations§
Source§impl Debug for FileSystemLoader
impl Debug for FileSystemLoader
Source§impl TemplateLoader for FileSystemLoader
impl TemplateLoader for FileSystemLoader
Auto Trait Implementations§
impl Freeze for FileSystemLoader
impl RefUnwindSafe for FileSystemLoader
impl Send for FileSystemLoader
impl Sync for FileSystemLoader
impl Unpin for FileSystemLoader
impl UnwindSafe for FileSystemLoader
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