pub struct Template {
pub path: String,
pub dir: String,
/* private fields */
}Expand description
a parsed template: its path as given (diagnostics), its directory (includes), its nodes
Fields§
§path: Stringthe path as given
dir: Stringthe absolute directory its includes resolve from
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for Template
impl !Send for Template
impl !Sync for Template
impl !UnwindSafe for Template
impl Forget for Template
impl Freeze for Template
impl Move for Template
impl Unpin for Template
impl UnsafeUnpin 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