[][src]Trait rustfmt_nightly::CliOptions

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

fn apply_to(self, config: &mut Config)

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

Loading content...

Implementors

Loading content...