pub struct LoaderConfig {
pub plugin_dir: PathBuf,
pub vanguard_version: Version,
pub validate_on_load: bool,
pub check_dependencies: bool,
}Expand description
Configuration for the plugin loader
Fields§
§plugin_dir: PathBufBase directory for plugin discovery
vanguard_version: VersionCurrent Vanguard version
validate_on_load: boolWhether to validate plugins on load
check_dependencies: boolWhether to check dependencies on load
Trait Implementations§
Source§impl Clone for LoaderConfig
impl Clone for LoaderConfig
Source§fn clone(&self) -> LoaderConfig
fn clone(&self) -> LoaderConfig
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 LoaderConfig
impl Debug for LoaderConfig
Auto Trait Implementations§
impl Freeze for LoaderConfig
impl RefUnwindSafe for LoaderConfig
impl Send for LoaderConfig
impl Sync for LoaderConfig
impl Unpin for LoaderConfig
impl UnwindSafe for LoaderConfig
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