pub struct EffectiveConfig {
pub raz: RazConfig,
pub providers_config: ProviderConfig,
pub filters: FilterConfig,
pub ui: UiConfig,
pub commands: Vec<CommandConfig>,
pub overrides: OverrideCollection,
}
Fields§
§raz: RazConfig
§providers_config: ProviderConfig
§filters: FilterConfig
§ui: UiConfig
§commands: Vec<CommandConfig>
§overrides: OverrideCollection
Implementations§
Source§impl EffectiveConfig
impl EffectiveConfig
pub fn new( global: GlobalConfig, workspace: Option<WorkspaceConfig>, ) -> EffectiveConfig
pub fn apply_runtime_override(&mut self, override_config: CommandOverride)
pub fn find_override( &self, file: Option<&PathBuf>, function: Option<&str>, line: Option<usize>, ) -> Option<&CommandOverride>
pub fn is_provider_enabled(&self, provider: &str) -> bool
pub fn get_provider_config(&self, provider: &str) -> Option<&Value>
pub fn should_ignore_command(&self, command: &str) -> bool
pub fn is_priority_command(&self, command: &str) -> bool
Trait Implementations§
Source§impl Clone for EffectiveConfig
impl Clone for EffectiveConfig
Source§fn clone(&self) -> EffectiveConfig
fn clone(&self) -> EffectiveConfig
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 EffectiveConfig
impl RefUnwindSafe for EffectiveConfig
impl Send for EffectiveConfig
impl Sync for EffectiveConfig
impl Unpin for EffectiveConfig
impl UnwindSafe for EffectiveConfig
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