Trait rustfmt_nightly::CliOptions[][src]

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

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

Required Methods

Implementors