pub struct PluginInput {
pub ignore: Vec<String>,
pub ignore_tests: bool,
pub options: Options,
}Expand description
Everything the orchestrator feeds a plugin from config + CLI input.
Fields§
§ignore: Vec<String>Glob patterns for paths to skip during analysis (config + CLI).
ignore_tests: boolWhen true, the plugin must skip its own test files during the walk
(mirrors [ignore] tests). What counts as a test is language-specific —
see LanguagePlugin::is_test_path — so the detection lives in the
plugin, not the CLI.
options: OptionsFree-form key/value options. A plugin reads its own keys, ignores the rest.
Trait Implementations§
Source§impl Clone for PluginInput
impl Clone for PluginInput
Source§fn clone(&self) -> PluginInput
fn clone(&self) -> PluginInput
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PluginInput
impl Debug for PluginInput
Source§impl Default for PluginInput
impl Default for PluginInput
Source§fn default() -> PluginInput
fn default() -> PluginInput
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for PluginInput
impl RefUnwindSafe for PluginInput
impl Send for PluginInput
impl Sync for PluginInput
impl Unpin for PluginInput
impl UnsafeUnpin for PluginInput
impl UnwindSafe for PluginInput
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