var searchIndex = {}; searchIndex["rustfmt"] = {"doc":"","items":[[3,"Summary","rustfmt","",null,null],[3,"Indent","","",null,null],[12,"block_indent","","",0,null],[12,"alignment","","",0,null],[3,"FormattingError","","",null,null],[3,"FormatReport","","",null,null],[4,"ErrorKind","","",null,null],[13,"LineOverflow","","",1,null],[13,"TrailingWhitespace","","",1,null],[13,"BadIssue","","",1,null],[4,"Input","","",null,null],[13,"File","","",2,null],[13,"Text","","",2,null],[5,"format_input","","",null,null],[5,"run","","",null,{"inputs":[{"name":"input"},{"name":"config"}],"output":{"name":"summary"}}],[0,"config","","",null,null],[3,"ConfigHelpItem","rustfmt::config","",null,null],[3,"Config","","",null,null],[12,"verbose","","",3,null],[12,"skip_children","","",3,null],[12,"max_width","","",3,null],[12,"ideal_width","","",3,null],[12,"tab_spaces","","",3,null],[12,"fn_call_width","","",3,null],[12,"struct_lit_width","","",3,null],[12,"force_explicit_abi","","",3,null],[12,"newline_style","","",3,null],[12,"fn_brace_style","","",3,null],[12,"item_brace_style","","",3,null],[12,"else_if_brace_style","","",3,null],[12,"control_brace_style","","",3,null],[12,"impl_empty_single_line","","",3,null],[12,"fn_empty_single_line","","",3,null],[12,"fn_single_line","","",3,null],[12,"fn_return_indent","","",3,null],[12,"fn_args_paren_newline","","",3,null],[12,"fn_args_density","","",3,null],[12,"fn_args_layout","","",3,null],[12,"fn_arg_indent","","",3,null],[12,"type_punctuation_density","","",3,null],[12,"where_density","","",3,null],[12,"where_indent","","",3,null],[12,"where_layout","","",3,null],[12,"where_pred_indent","","",3,null],[12,"where_trailing_comma","","",3,null],[12,"generics_indent","","",3,null],[12,"struct_trailing_comma","","",3,null],[12,"struct_lit_trailing_comma","","",3,null],[12,"struct_lit_style","","",3,null],[12,"struct_lit_multiline_style","","",3,null],[12,"enum_trailing_comma","","",3,null],[12,"report_todo","","",3,null],[12,"report_fixme","","",3,null],[12,"chain_base_indent","","",3,null],[12,"chain_indent","","",3,null],[12,"chains_overflow_last","","",3,null],[12,"reorder_imports","","",3,null],[12,"single_line_if_else","","",3,null],[12,"format_strings","","",3,null],[12,"force_format_strings","","",3,null],[12,"take_source_hints","","",3,null],[12,"hard_tabs","","",3,null],[12,"wrap_comments","","",3,null],[12,"normalise_comments","","",3,null],[12,"wrap_match_arms","","",3,null],[12,"match_block_trailing_comma","","",3,null],[12,"match_wildcard_trailing_comma","","",3,null],[12,"closure_block_indent_threshold","","",3,null],[12,"use_try_shorthand","","",3,null],[12,"write_mode","","",3,null],[3,"ParsedConfig","","",null,null],[12,"verbose","","",4,null],[12,"skip_children","","",4,null],[12,"max_width","","",4,null],[12,"ideal_width","","",4,null],[12,"tab_spaces","","",4,null],[12,"fn_call_width","","",4,null],[12,"struct_lit_width","","",4,null],[12,"force_explicit_abi","","",4,null],[12,"newline_style","","",4,null],[12,"fn_brace_style","","",4,null],[12,"item_brace_style","","",4,null],[12,"else_if_brace_style","","",4,null],[12,"control_brace_style","","",4,null],[12,"impl_empty_single_line","","",4,null],[12,"fn_empty_single_line","","",4,null],[12,"fn_single_line","","",4,null],[12,"fn_return_indent","","",4,null],[12,"fn_args_paren_newline","","",4,null],[12,"fn_args_density","","",4,null],[12,"fn_args_layout","","",4,null],[12,"fn_arg_indent","","",4,null],[12,"type_punctuation_density","","",4,null],[12,"where_density","","",4,null],[12,"where_indent","","",4,null],[12,"where_layout","","",4,null],[12,"where_pred_indent","","",4,null],[12,"where_trailing_comma","","",4,null],[12,"generics_indent","","",4,null],[12,"struct_trailing_comma","","",4,null],[12,"struct_lit_trailing_comma","","",4,null],[12,"struct_lit_style","","",4,null],[12,"struct_lit_multiline_style","","",4,null],[12,"enum_trailing_comma","","",4,null],[12,"report_todo","","",4,null],[12,"report_fixme","","",4,null],[12,"chain_base_indent","","",4,null],[12,"chain_indent","","",4,null],[12,"chains_overflow_last","","",4,null],[12,"reorder_imports","","",4,null],[12,"single_line_if_else","","",4,null],[12,"format_strings","","",4,null],[12,"force_format_strings","","",4,null],[12,"take_source_hints","","",4,null],[12,"hard_tabs","","",4,null],[12,"wrap_comments","","",4,null],[12,"normalise_comments","","",4,null],[12,"wrap_match_arms","","",4,null],[12,"match_block_trailing_comma","","",4,null],[12,"match_wildcard_trailing_comma","","",4,null],[12,"closure_block_indent_threshold","","",4,null],[12,"use_try_shorthand","","",4,null],[12,"write_mode","","",4,null],[4,"NewlineStyle","","",null,null],[13,"Windows","","",5,null],[13,"Unix","","",5,null],[13,"Native","","",5,null],[4,"BraceStyle","","",null,null],[13,"AlwaysNextLine","","",6,null],[13,"PreferSameLine","","",6,null],[13,"SameLineWhere","","",6,null],[4,"ControlBraceStyle","","",null,null],[13,"AlwaysSameLine","","",7,null],[13,"AlwaysNextLine","","",7,null],[4,"ElseIfBraceStyle","","",null,null],[13,"AlwaysSameLine","","",8,null],[13,"ClosingNextLine","","",8,null],[13,"AlwaysNextLine","","",8,null],[4,"ReturnIndent","","",null,null],[13,"WithArgs","","",9,null],[13,"WithWhereClause","","",9,null],[4,"StructLitStyle","","",null,null],[13,"Visual","","",10,null],[13,"Block","","",10,null],[4,"FnArgLayoutStyle","","",null,null],[13,"Visual","","",11,null],[13,"Block","","",11,null],[13,"BlockAlways","","",11,null],[4,"BlockIndentStyle","","",null,null],[13,"Inherit","","",12,null],[13,"Tabbed","","",12,null],[13,"Visual","","",12,null],[4,"Density","","",null,null],[13,"Compressed","","",13,null],[13,"Tall","","",13,null],[13,"CompressedIfEmpty","","",13,null],[13,"Vertical","","",13,null],[4,"TypeDensity","","",null,null],[13,"Compressed","","",14,null],[13,"Wide","","",14,null],[4,"LicensePolicy","","",null,null],[13,"NoLicense","","",15,null],[13,"TextLicense","","",15,null],[13,"FileLicense","","",15,null],[4,"MultilineStyle","","",null,null],[13,"PreferSingle","","",16,null],[13,"ForceMulti","","",16,null],[4,"ReportTactic","","",null,null],[13,"Always","","",17,null],[13,"Unnumbered","","",17,null],[13,"Never","","",17,null],[4,"WriteMode","","",null,null],[13,"Replace","","",18,null],[13,"Overwrite","","",18,null],[13,"Display","","",18,null],[13,"Diff","","",18,null],[13,"Coverage","","",18,null],[13,"Plain","","",18,null],[13,"Checkstyle","","",18,null],[8,"ConfigType","","Trait for types that can be used in `Config`.",null,null],[10,"doc_hint","","Returns hint text for use in `Config::print_docs()`. For enum types, this is a\npipe-separated list of variants; for other types it returns "<type>".",19,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",5,null],[11,"eq","","",5,null],[11,"clone","","",5,null],[11,"decode","","",5,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",5,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",5,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",6,null],[11,"eq","","",6,null],[11,"clone","","",6,null],[11,"decode","","",6,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",6,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",6,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",7,null],[11,"eq","","",7,null],[11,"clone","","",7,null],[11,"decode","","",7,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",7,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",7,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",8,null],[11,"eq","","",8,null],[11,"clone","","",8,null],[11,"decode","","",8,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",8,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",8,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",9,null],[11,"eq","","",9,null],[11,"clone","","",9,null],[11,"decode","","",9,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",9,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",9,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",10,null],[11,"eq","","",10,null],[11,"clone","","",10,null],[11,"decode","","",10,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",10,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",10,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",11,null],[11,"eq","","",11,null],[11,"clone","","",11,null],[11,"decode","","",11,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",11,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",11,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",12,null],[11,"eq","","",12,null],[11,"clone","","",12,null],[11,"decode","","",12,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",12,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",12,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",13,null],[11,"eq","","",13,null],[11,"clone","","",13,null],[11,"decode","","",13,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",13,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",13,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",14,null],[11,"eq","","",14,null],[11,"clone","","",14,null],[11,"decode","","",14,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",14,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",14,{"inputs":[],"output":{"name":"string"}}],[11,"to_list_tactic","","",13,null],[11,"fmt","","",15,null],[11,"eq","","",15,null],[11,"clone","","",15,null],[11,"decode","","",15,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",15,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",15,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",16,null],[11,"eq","","",16,null],[11,"clone","","",16,null],[11,"decode","","",16,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",16,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",16,{"inputs":[],"output":{"name":"string"}}],[11,"to_list_tactic","","",16,null],[11,"fmt","","",17,null],[11,"eq","","",17,null],[11,"clone","","",17,null],[11,"decode","","",17,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",17,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",17,{"inputs":[],"output":{"name":"string"}}],[11,"fmt","","",18,null],[11,"eq","","",18,null],[11,"clone","","",18,null],[11,"decode","","",18,{"inputs":[{"name":"d"}],"output":{"name":"result"}}],[11,"from_str","","",18,{"inputs":[{"name":"str"}],"output":{"name":"result"}}],[11,"doc_hint","","",18,{"inputs":[],"output":{"name":"string"}}],[11,"option_name","","",20,null],[11,"doc_string","","",20,null],[11,"variant_names","","",20,null],[11,"default","","",20,null],[11,"clone","","",3,null],[11,"decode","","",3,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"clone","","",4,null],[11,"decode","","",4,{"inputs":[{"name":"__d"}],"output":{"name":"result"}}],[11,"from_toml","","",3,{"inputs":[{"name":"str"}],"output":{"name":"config"}}],[11,"override_value","","",3,null],[11,"print_docs","","",3,{"inputs":[],"output":null}],[11,"default","","",3,{"inputs":[],"output":{"name":"config"}}],[0,"filemap","rustfmt","",null,null],[5,"append_newlines","rustfmt::filemap","",null,{"inputs":[{"name":"filemap"}],"output":null}],[5,"write_all_files","","",null,{"inputs":[{"name":"filemap"},{"name":"t"},{"name":"config"}],"output":{"name":"result"}}],[5,"write_system_newlines","","",null,{"inputs":[{"name":"t"},{"name":"stringbuffer"},{"name":"config"}],"output":{"name":"result"}}],[5,"write_file","","",null,{"inputs":[{"name":"stringbuffer"},{"name":"str"},{"name":"t"},{"name":"config"}],"output":{"name":"result"}}],[6,"FileMap","","",null,null],[0,"visitor","rustfmt","",null,null],[3,"FmtVisitor","rustfmt::visitor","",null,null],[12,"parse_session","","",21,null],[12,"codemap","","",21,null],[12,"buffer","","",21,null],[12,"last_pos","","",21,null],[12,"block_indent","","",21,null],[12,"config","","",21,null],[11,"visit_block","","",21,null],[11,"visit_trait_item","","",21,null],[11,"visit_impl_item","","",21,null],[11,"from_codemap","","",21,{"inputs":[{"name":"parsesess"},{"name":"config"}],"output":{"name":"fmtvisitor"}}],[11,"snippet","","",21,null],[11,"visit_attrs","","",21,null],[11,"format_separate_mod","","",21,null],[11,"get_context","","",21,null],[11,"format_foreign_mod","","",21,null],[11,"rewrite_fn","","",21,null],[11,"rewrite_required_fn","","",21,null],[11,"visit_enum","","",21,null],[11,"format_missing","","",21,null],[11,"format_missing_with_indent","","",21,null],[0,"modules","rustfmt","",null,null],[5,"list_files","rustfmt::modules","List all the files containing modules of a crate.\nIf a file is used twice in a crate, it appears only once.",null,{"inputs":[{"name":"crate"},{"name":"codemap"}],"output":{"name":"hashmap"}}],[0,"rustfmt_diff","rustfmt","",null,null],[3,"Mismatch","rustfmt::rustfmt_diff","",null,null],[12,"line_number","","",22,null],[12,"lines","","",22,null],[4,"DiffLine","","",null,null],[13,"Context","","",23,null],[13,"Expected","","",23,null],[13,"Resulting","","",23,null],[5,"make_diff","","",null,{"inputs":[{"name":"str"},{"name":"str"},{"name":"usize"}],"output":{"name":"vec"}}],[5,"print_diff","","",null,{"inputs":[{"name":"vec"},{"name":"f"}],"output":null}],[11,"eq","","",23,null],[11,"ne","","",23,null],[11,"fmt","","",23,null],[11,"eq","","",22,null],[11,"ne","","",22,null],[11,"fmt","","",22,null],[11,"new","rustfmt","",24,{"inputs":[],"output":{"name":"summary"}}],[11,"has_operational_errors","","",24,null],[11,"has_parsing_errors","","",24,null],[11,"has_formatting_errors","","",24,null],[11,"add_operational_error","","",24,null],[11,"add_parsing_error","","",24,null],[11,"add_formatting_error","","",24,null],[11,"has_no_errors","","",24,null],[11,"add","","",24,null],[8,"Spanned","","",null,null],[10,"span","","",25,null],[11,"fmt","","",0,null],[11,"clone","","",0,null],[11,"new","","",0,{"inputs":[{"name":"usize"},{"name":"usize"}],"output":{"name":"indent"}}],[11,"empty","","",0,{"inputs":[],"output":{"name":"indent"}}],[11,"block_indent","","",0,null],[11,"block_unindent","","",0,null],[11,"width","","",0,null],[11,"to_string","","",0,null],[11,"add","","",0,null],[11,"sub","","",0,null],[11,"add","","",0,null],[11,"sub","","",0,null],[11,"fmt","","",1,null],[11,"warning_count","","",26,null],[11,"has_warnings","","",26,null],[11,"fmt","","",26,null],[14,"impl_enum_decodable!","","",null,null],[14,"try_opt!","","",null,null]],"paths":[[3,"Indent"],[4,"ErrorKind"],[4,"Input"],[3,"Config"],[3,"ParsedConfig"],[4,"NewlineStyle"],[4,"BraceStyle"],[4,"ControlBraceStyle"],[4,"ElseIfBraceStyle"],[4,"ReturnIndent"],[4,"StructLitStyle"],[4,"FnArgLayoutStyle"],[4,"BlockIndentStyle"],[4,"Density"],[4,"TypeDensity"],[4,"LicensePolicy"],[4,"MultilineStyle"],[4,"ReportTactic"],[4,"WriteMode"],[8,"ConfigType"],[3,"ConfigHelpItem"],[3,"FmtVisitor"],[3,"Mismatch"],[4,"DiffLine"],[3,"Summary"],[8,"Spanned"],[3,"FormatReport"]]}; initSearch(searchIndex);