Struct rustfmt_config::ConfigSetter
[−]
[src]
pub struct ConfigSetter<'a>(_);
pub struct ConfigSetter<'a>(_);
impl<'a> ConfigSetter<'a>
[src]pub fn max_width(&mut self, value: usize)
[src]pub fn hard_tabs(&mut self, value: bool)
[src]pub fn tab_spaces(&mut self, value: usize)
[src]pub fn newline_style(&mut self, value: NewlineStyle)
[src]pub fn indent_style(&mut self, value: IndentStyle)
[src]pub fn use_small_heuristics(&mut self, value: bool)
[src]pub fn format_strings(&mut self, value: bool)
[src]pub fn wrap_comments(&mut self, value: bool)
[src]pub fn comment_width(&mut self, value: usize)
[src]pub fn normalize_comments(&mut self, value: bool)
[src]pub fn empty_item_single_line(&mut self, value: bool)
[src]pub fn struct_lit_single_line(&mut self, value: bool)
[src]pub fn fn_single_line(&mut self, value: bool)
[src]pub fn where_single_line(&mut self, value: bool)
[src]pub fn imports_indent(&mut self, value: IndentStyle)
[src]pub fn imports_layout(&mut self, value: ListTactic)
[src]pub fn reorder_extern_crates(&mut self, value: bool)
[src]pub fn reorder_extern_crates_in_group(&mut self, value: bool)
[src]pub fn reorder_imports(&mut self, value: bool)
[src]pub fn reorder_imports_in_group(&mut self, value: bool)
[src]pub fn reorder_imported_names(&mut self, value: bool)
[src]pub fn reorder_modules(&mut self, value: bool)
[src]pub fn binop_separator(&mut self, value: SeparatorPlace)
[src]pub fn type_punctuation_density(&mut self, value: TypeDensity)
[src]pub fn space_before_colon(&mut self, value: bool)
[src]pub fn space_after_colon(&mut self, value: bool)
[src]pub fn spaces_around_ranges(&mut self, value: bool)
[src]pub fn spaces_within_parens_and_brackets(&mut self, value: bool)
[src]pub fn combine_control_expr(&mut self, value: bool)
[src]pub fn struct_field_align_threshold(&mut self, value: usize)
[src]pub fn remove_blank_lines_at_start_or_end_of_block(&mut self, value: bool)
[src]pub fn match_arm_blocks(&mut self, value: bool)
[src]pub fn force_multiline_blocks(&mut self, value: bool)
[src]pub fn fn_args_density(&mut self, value: Density)
[src]pub fn brace_style(&mut self, value: BraceStyle)
[src]pub fn control_brace_style(&mut self, value: ControlBraceStyle)
[src]pub fn trailing_comma(&mut self, value: SeparatorTactic)
[src]pub fn trailing_semicolon(&mut self, value: bool)
[src]pub fn match_block_trailing_comma(&mut self, value: bool)
[src]pub fn blank_lines_upper_bound(&mut self, value: usize)
[src]pub fn blank_lines_lower_bound(&mut self, value: usize)
[src]pub fn merge_derives(&mut self, value: bool)
[src]pub fn use_try_shorthand(&mut self, value: bool)
[src]pub fn condense_wildcard_suffixes(&mut self, value: bool)
[src]pub fn force_explicit_abi(&mut self, value: bool)
[src]pub fn use_field_init_shorthand(&mut self, value: bool)
[src]pub fn write_mode(&mut self, value: WriteMode)
[src]pub fn color(&mut self, value: Color)
[src]pub fn required_version(&mut self, value: String)
[src]pub fn unstable_features(&mut self, value: bool)
[src]pub fn disable_all_formatting(&mut self, value: bool)
[src]pub fn skip_children(&mut self, value: bool)
[src]pub fn hide_parse_errors(&mut self, value: bool)
[src]pub fn error_on_line_overflow(&mut self, value: bool)
[src]pub fn error_on_unformatted(&mut self, value: bool)
[src]pub fn report_todo(&mut self, value: ReportTactic)
[src]pub fn report_fixme(&mut self, value: ReportTactic)
[src]pub fn verbose(&mut self, value: bool)
[src]pub fn file_lines(&mut self, value: FileLines)
[src]pub fn width_heuristics(&mut self, value: WidthHeuristics)
[src]impl<'a> Send for ConfigSetter<'a>
impl<'a> !Sync for ConfigSetter<'a>