pub struct TemplateConfig {
pub base_dir: PathBuf,
pub max_tree_depth: Option<usize>,
pub inline_contents: bool,
pub add_path_comments: bool,
pub max_file_size: u64,
}Expand description
Configuration for template processing
Fields§
§base_dir: PathBufBase directory for resolving references (usually current working directory)
max_tree_depth: Option<usize>Maximum depth for directory tree generation
inline_contents: boolWhether to include file contents inline
add_path_comments: boolWhether to add file path comments
max_file_size: u64Maximum file size before requiring force syntax
Trait Implementations§
Source§impl Clone for TemplateConfig
impl Clone for TemplateConfig
Source§fn clone(&self) -> TemplateConfig
fn clone(&self) -> TemplateConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TemplateConfig
impl Debug for TemplateConfig
Auto Trait Implementations§
impl Freeze for TemplateConfig
impl RefUnwindSafe for TemplateConfig
impl Send for TemplateConfig
impl Sync for TemplateConfig
impl Unpin for TemplateConfig
impl UnwindSafe for TemplateConfig
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