pub trait CliOptions {
    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§

Implementors§