pub struct ForgeConfig {
pub components_dir_path: PathBuf,
pub components_dir_options: DirectorySourceOptions,
pub preview: bool,
}
Fields§
§components_dir_path: PathBuf
Path used to register Handlebars templates
components_dir_options: DirectorySourceOptions
§preview: bool
Enables dev_mode
option of Handlebars
Auto Trait Implementations§
impl Freeze for ForgeConfig
impl RefUnwindSafe for ForgeConfig
impl Send for ForgeConfig
impl Sync for ForgeConfig
impl Unpin for ForgeConfig
impl UnwindSafe for ForgeConfig
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