pub struct PluginLoaderConfig {
pub plugin_dir: PathBuf,
pub file_patterns: Vec<String>,
}Expand description
Configuration for the plugin loader.
Fields§
§plugin_dir: PathBufDirectory to scan for plugin shared libraries.
file_patterns: Vec<String>File glob patterns to match (e.g., ["libdrasi_source_*", "libdrasi_reaction_*"]).
Trait Implementations§
Source§impl Clone for PluginLoaderConfig
impl Clone for PluginLoaderConfig
Source§fn clone(&self) -> PluginLoaderConfig
fn clone(&self) -> PluginLoaderConfig
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 moreAuto Trait Implementations§
impl Freeze for PluginLoaderConfig
impl RefUnwindSafe for PluginLoaderConfig
impl Send for PluginLoaderConfig
impl Sync for PluginLoaderConfig
impl Unpin for PluginLoaderConfig
impl UnsafeUnpin for PluginLoaderConfig
impl UnwindSafe for PluginLoaderConfig
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