pub struct GenContext {
pub template_path: PathBuf,
pub output_root: PathBuf,
pub vars: BTreeMap<String, String>,
pub global_prefixes: BTreeMap<String, String>,
pub base: Option<String>,
pub dry_run: bool,
}Fields§
§template_path: PathBuf§output_root: PathBuf§vars: BTreeMap<String, String>§global_prefixes: BTreeMap<String, String>§base: Option<String>§dry_run: boolImplementations§
Source§impl GenContext
impl GenContext
Auto Trait Implementations§
impl Freeze for GenContext
impl RefUnwindSafe for GenContext
impl Send for GenContext
impl Sync for GenContext
impl Unpin for GenContext
impl UnwindSafe for GenContext
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