pub struct Import {
pub stem: String,
pub path: PathBuf,
}Expand description
A template import declaration: [stem](path.tmpl.md).
Fields§
§stem: StringShort alias used as namespace prefix, e.g. other.
path: PathBufRelative path to the imported template file.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Import
impl RefUnwindSafe for Import
impl Send for Import
impl Sync for Import
impl Unpin for Import
impl UnsafeUnpin for Import
impl UnwindSafe for Import
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