pub trait CliOptions {
    // Required methods
    fn apply_to(self, config: &mut Config);
    fn config_path(&self) -> Option<&Path>;
}
Expand description

Maps client-supplied options to Rustfmt’s internals, mostly overriding values in a config with values from the command line.

Required Methods§

source

fn apply_to(self, config: &mut Config)

source

fn config_path(&self) -> Option<&Path>

Implementors§