StaticAnalyzerConfig

Trait StaticAnalyzerConfig 

Source
pub trait StaticAnalyzerConfig {
    // Required methods
    fn default() -> Self;
    fn ini(self) -> Ini;
    fn save(self) -> Self;
    fn with_path(self, path: PathBuf) -> Self;
}
Expand description

Trait for static analyzer configuration (e.g. .vale.ini)

Required Methods§

Source

fn default() -> Self

Get default configuration

Source

fn ini(self) -> Ini

Convert to INI

Source

fn save(self) -> Self

Save configuration

Source

fn with_path(self, path: PathBuf) -> Self

Set parent path of configuration

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§