List of all items
Structs
- Config
- FileLines
- FormatReport
- FormatReportFormatter
- FormatReportFormatterBuilder
- FormattedSnippet
- ModifiedChunk
- ModifiedLines
- Range
- Session
- attr::doc_comment::DocCommentFormatter
- chains::Chain
- chains::ChainFormatterBlock
- chains::ChainFormatterShared
- chains::ChainFormatterVisual
- chains::ChainItem
- comment::CharClasses
- comment::CommentCodeSlices
- comment::CommentReducer
- comment::CommentRewrite
- comment::ItemizedBlock
- comment::LineClasses
- comment::REFERENCE_LINK_URL
- comment::UngroupedCommentCodeSlices
- config::Config
- config::ConfigSetter
- config::ConfigWasSet
- config::PartialConfig
- config::ToTomlError
- config::file_lines::FileLines
- config::file_lines::Files
- config::file_lines::JsonSpan
- config::file_lines::LineRange
- config::file_lines::Range
- config::options::IgnoreList
- config::options::WidthHeuristics
- emitter::EmitterResult
- emitter::FormattedFile
- emitter::checkstyle::CheckstyleEmitter
- emitter::checkstyle::xml::XmlEscaped
- emitter::diff::DiffEmitter
- emitter::files::FilesEmitter
- emitter::files_with_backup::FilesWithBackupEmitter
- emitter::json::JsonEmitter
- emitter::json::MismatchedBlock
- emitter::json::MismatchedFile
- emitter::modified_lines::ModifiedLinesEmitter
- emitter::stdout::StdoutEmitter
- expr::ControlFlow
- format_report_formatter::FormatReportFormatter
- format_report_formatter::FormatReportFormatterBuilder
- formatting::FormatContext
- formatting::FormatLines
- formatting::FormattingError
- formatting::ReportedErrors
- ignore_path::IgnorePathSet
- imports::UseSegment
- imports::UseTree
- items::FnSig
- items::Item
- items::OpaqueType
- items::StaticParts
- items::StructParts
- items::TraitAliasBounds
- items::TyAliasRewriteInfo
- items::WhereClauseOption
- lists::ListFormatting
- lists::ListItem
- lists::ListItems
- macros::Macro
- macros::MacroArgParser
- macros::MacroBranch
- macros::MacroParser
- macros::ParsedMacroArg
- matches::ArmWrapper
- missed_spans::SnippetStatus
- modules::ModResolver
- modules::Module
- modules::ModuleResolutionError
- modules::visitor::CfgIfVisitor
- modules::visitor::ModItem
- modules::visitor::PathVisitor
- overflow::Context
- pairs::PairList
- pairs::PairParts
- parse::macros::ParsedMacroArgs
- parse::parser::Directory
- parse::parser::Parser
- parse::parser::ParserBuilder
- parse::session::ParseSess
- parse::session::SilentEmitter
- parse::session::SilentOnIgnoredFilesEmitter
- patterns::RangeOperand
- rewrite::InsideMacroGuard
- rewrite::RewriteContext
- rustfmt_diff::Mismatch
- rustfmt_diff::ModifiedChunk
- rustfmt_diff::ModifiedLines
- rustfmt_diff::OutputWriter
- shape::Indent
- shape::Shape
- skip::SkipContext
- stmt::Stmt
- string::StringFormat
- visitor::FmtVisitor
- visitor::SnippetProvider
Enums
- Color
- Edition
- EmitMode
- ErrorKind
- FileName
- Input
- NewlineStyle
- Verbosity
- chains::ChainItemKind
- chains::CommentPosition
- comment::CharClassesStatus
- comment::CodeBlockAttribute
- comment::CodeCharKind
- comment::CommentStyle
- comment::FullCodeCharKind
- config::file_lines::FileLinesError
- config::file_lines::FileName
- config::lists::DefinitiveListTactic
- config::lists::__define_config_type_on_enum_ListTactic::ListTactic
- config::lists::__define_config_type_on_enum_SeparatorPlace::SeparatorPlace
- config::lists::__define_config_type_on_enum_SeparatorTactic::SeparatorTactic
- config::options::__define_config_type_on_enum_BraceStyle::BraceStyle
- config::options::__define_config_type_on_enum_Color::Color
- config::options::__define_config_type_on_enum_ControlBraceStyle::ControlBraceStyle
- config::options::__define_config_type_on_enum_Density::Density
- config::options::__define_config_type_on_enum_Edition::Edition
- config::options::__define_config_type_on_enum_EmitMode::EmitMode
- config::options::__define_config_type_on_enum_GroupImportsTactic::GroupImportsTactic
- config::options::__define_config_type_on_enum_Heuristics::Heuristics
- config::options::__define_config_type_on_enum_HexLiteralCase::HexLiteralCase
- config::options::__define_config_type_on_enum_ImportGranularity::ImportGranularity
- config::options::__define_config_type_on_enum_IndentStyle::IndentStyle
- config::options::__define_config_type_on_enum_MatchArmLeadingPipe::MatchArmLeadingPipe
- config::options::__define_config_type_on_enum_NewlineStyle::NewlineStyle
- config::options::__define_config_type_on_enum_ReportTactic::ReportTactic
- config::options::__define_config_type_on_enum_TypeDensity::TypeDensity
- config::options::__define_config_type_on_enum_Verbosity::Verbosity
- config::options::__define_config_type_on_enum_Version::Version
- expr::ExprType
- expr::RhsAssignKind
- expr::RhsTactics
- formatting::Timer
- formatting::newline_style::EffectiveNewlineStyle
- imports::SharedPrefix
- imports::UseSegmentKind
- items::BodyElement
- items::BracePos
- items::FnBraceStyle
- items::ItemVisitorKind
- items::WhereClauseSpace
- lists::ListItemCommentStyle
- lists::Separator
- macros::MacroArg
- macros::MacroArgKind
- macros::MacroPosition
- macros::SpaceState
- modules::ModuleResolutionErrorKind
- modules::SubModKind
- overflow::OverflowableItem
- parse::parser::ParserError
- patterns::TuplePatField
- reorder::ReorderableItemKind
- rustfmt_diff::DiffLine
- string::SnippetState
- types::PathContext
- types::SegmentParam
Traits
- CliOptions
- attr::MetaVisitor
- chains::ChainFormatter
- comment::FindUncommented
- comment::RichChar
- config::config_type::ConfigType
- config::options::CliOptions
- emitter::Emitter
- formatting::FormatHandler
- overflow::IntoOverflowableItem
- pairs::FlattenPair
- rewrite::Rewrite
- source_map::LineRangeUtils
- source_map::SpanUtils
- spanned::Spanned
- utils::NodeIdExt
- vertical::AlignedItem
Macros
- config::config_type::create_config
- is_nightly_channel
- overflow::impl_into_overflowable_item_for_ast_node
- overflow::impl_into_overflowable_item_for_rustfmt_types
- spanned::implement_spanned
- spanned::span_with_attrs
- spanned::span_with_attrs_lo_hi
- utils::out_of_file_lines_range
- utils::skip_out_of_file_lines_range
- utils::skip_out_of_file_lines_range_visitor
- utils::source
Functions
- attr::argument_shape
- attr::attr_prefix
- attr::contains_name
- attr::filter_inline_attrs
- attr::first_attr_value_str_by_name
- attr::format_derive
- attr::get_attrs_from_stmt
- attr::get_span_without_attrs
- attr::has_newlines_before_after_comment
- attr::is_derive
- attr::rewrite_initial_doc_comments
- attr::take_while_with_pred
- chains::rewrite_chain
- chains::trim_tries
- closures::args_have_many_closure
- closures::expr_requires_semi_to_be_stmt
- closures::get_inner_expr
- closures::is_block_closure_forced
- closures::is_block_closure_forced_inner
- closures::needs_block
- closures::rewrite_closure
- closures::rewrite_closure_block
- closures::rewrite_closure_expr
- closures::rewrite_closure_fn_decl
- closures::rewrite_closure_with_block
- closures::rewrite_last_closure
- closures::try_rewrite_without_block
- closures::veto_block
- comment::changed_comment_content
- comment::combine_strs_with_missing_comments
- comment::comment_style
- comment::contains_comment
- comment::custom_opener
- comment::filter_normal_code
- comment::find_comment_end
- comment::has_url
- comment::hide_sharp_behind_comment
- comment::identify_comment
- comment::is_custom_comment
- comment::is_last_comment_block
- comment::is_raw_string_suffix
- comment::itemized_block_quote_start
- comment::left_trim_comment_line
- comment::light_rewrite_comment
- comment::recover_comment_removed
- comment::recover_missing_comment_in_span
- comment::remove_comment_header
- comment::rewrite_comment
- comment::rewrite_comment_inner
- comment::rewrite_doc_comment
- comment::rewrite_missing_comment
- comment::trim_custom_comment_prefix
- comment::trim_end_unless_two_whitespaces
- config::config_path
- config::file_lines::canonicalize_path_string
- config::file_lines::normalize_ranges
- config::get_toml_path
- config::load_config
- coverage::replace_chars
- coverage::transform_missing_snippet
- create_emitter
- emitter::checkstyle::output_checkstyle_file
- emitter::ensure_real_path
- expr::block_contains_comment
- expr::block_has_statements
- expr::block_prefix
- expr::can_be_overflowed_expr
- expr::choose_matcher
- expr::choose_rhs
- expr::choose_separator_tactic
- expr::extract_comment
- expr::extract_pats_and_cond
- expr::format_expr
- expr::is_empty_block
- expr::is_every_expr_simple
- expr::is_method_call
- expr::is_nested_call
- expr::is_simple_block
- expr::is_simple_block_stmt
- expr::is_simple_expr
- expr::is_unsafe_block
- expr::last_line_offsetted
- expr::prefer_next_line
- expr::rewrite_array
- expr::rewrite_assign_rhs
- expr::rewrite_assign_rhs_expr
- expr::rewrite_assign_rhs_with
- expr::rewrite_assign_rhs_with_comments
- expr::rewrite_assignment
- expr::rewrite_block
- expr::rewrite_block_with_visitor
- expr::rewrite_call
- expr::rewrite_cond
- expr::rewrite_empty_block
- expr::rewrite_expr_addrof
- expr::rewrite_field
- expr::rewrite_index
- expr::rewrite_int_lit
- expr::rewrite_label
- expr::rewrite_literal
- expr::rewrite_paren
- expr::rewrite_paren_in_multi_line
- expr::rewrite_single_line_block
- expr::rewrite_string_lit
- expr::rewrite_struct_lit
- expr::rewrite_tuple
- expr::rewrite_tuple_in_visual_indent_style
- expr::rewrite_unary_op
- expr::rewrite_unary_prefix
- expr::rewrite_unary_suffix
- expr::shape_from_rhs_tactic
- expr::span_ends_with_comma
- expr::stmt_is_expr
- expr::struct_lit_can_be_aligned
- expr::struct_lit_field_separator
- expr::to_control_flow
- expr::wrap_struct_field
- format_code_block
- format_report_formatter::error_kind_to_snippet_annotation_type
- format_report_formatter::slice_annotation
- format_snippet
- formatting::echo_back_stdin
- formatting::format_lines
- formatting::format_project
- formatting::generated::is_generated_file
- formatting::newline_style::apply_newline_style
- formatting::newline_style::auto_detect_newline_style
- formatting::newline_style::convert_to_unix_newlines
- formatting::newline_style::convert_to_windows_newlines
- formatting::newline_style::effective_newline_style
- formatting::newline_style::native_newline_style
- formatting::should_emit_verbose
- formatting::should_skip_module
- imports::flatten_use_trees
- imports::merge_rest
- imports::merge_use_trees_inner
- imports::normalize_use_trees_with_granularity
- imports::path_to_imported_ident
- imports::rewrite_nested_use_tree
- items::compute_budgets_for_params
- items::format_empty_struct_or_tuple
- items::format_generics
- items::format_header
- items::format_impl
- items::format_impl_ref_and_type
- items::format_struct
- items::format_struct_struct
- items::format_trait
- items::format_trait_alias
- items::format_tuple_struct
- items::format_unit_struct
- items::generics_shape_from_config
- items::get_bytepos_after_visibility
- items::get_missing_param_comments
- items::is_empty_infer
- items::is_extern_crate
- items::is_impl_single_line
- items::is_mod_decl
- items::is_named_param
- items::is_use_item
- items::missing_span_before_after_where
- items::newline_for_brace
- items::rewrite_attrs
- items::rewrite_bounds_on_where_clause
- items::rewrite_comments_before_after_where
- items::rewrite_explicit_self
- items::rewrite_extern_crate
- items::rewrite_fn_base
- items::rewrite_generics
- items::rewrite_mod
- items::rewrite_params
- items::rewrite_static
- items::rewrite_struct_field
- items::rewrite_struct_field_prefix
- items::rewrite_trait_ref
- items::rewrite_ty
- items::rewrite_type_alias
- items::rewrite_where_clause
- items::rewrite_where_clause_rfc_style
- items::rewrite_where_keyword
- items::span_hi_for_param
- items::span_lo_for_param
- items::type_annotation_separator
- items::type_annotation_spacing
- lists::calculate_width
- lists::comment_len
- lists::definitive_tactic
- lists::extract_post_comment
- lists::extract_pre_comment
- lists::get_comment_end
- lists::has_extra_newline
- lists::itemize_list
- lists::max_width_of_item_with_post_comment
- lists::post_comment_alignment
- lists::shape_for_tactic
- lists::struct_lit_formatting
- lists::struct_lit_shape
- lists::struct_lit_tactic
- lists::total_item_width
- lists::write_list
- load_config
- macros::convert_try_mac
- macros::delim_token_to_str
- macros::force_space_before
- macros::format_lazy_static
- macros::format_macro_args
- macros::handle_vec_semi
- macros::ident_like
- macros::last_tok
- macros::macro_style
- macros::next_space
- macros::register_metavariable
- macros::replace_names
- macros::return_macro_parse_failure_fallback
- macros::rewrite_macro
- macros::rewrite_macro_def
- macros::rewrite_macro_inner
- macros::rewrite_macro_name
- macros::rewrite_macro_with_items
- macros::span_for_token_stream
- macros::wrap_macro_args
- macros::wrap_macro_args_inner
- matches::arm_comma
- matches::block_can_be_flattened
- matches::can_flatten_block_around_this
- matches::collect_beginning_verts
- matches::flatten_arm_body
- matches::nop_block_collapse
- matches::rewrite_guard
- matches::rewrite_match
- matches::rewrite_match_arm
- matches::rewrite_match_arms
- matches::rewrite_match_body
- matches::stmt_is_expr_mac
- modules::find_path_value
- modules::is_cfg_if
- modules::path_value
- modules::visitor::lit_to_str
- overflow::can_be_overflowed
- overflow::into_overflowable_list
- overflow::last_item_shape
- overflow::maybe_get_args_offset
- overflow::need_block_indent
- overflow::no_long_items
- overflow::rewrite_with_angle_brackets
- overflow::rewrite_with_parens
- overflow::rewrite_with_square_brackets
- overflow::shape_from_indent_style
- pairs::rewrite_all_pairs
- pairs::rewrite_pair
- pairs::rewrite_pairs_multiline
- pairs::rewrite_pairs_one_line
- parse::macros::asm::parse_asm
- parse::macros::build_parser
- parse::macros::build_stream_parser
- parse::macros::cfg_if::parse_cfg_if
- parse::macros::cfg_if::parse_cfg_if_inner
- parse::macros::check_keyword
- parse::macros::lazy_static::parse_lazy_static
- parse::macros::parse_expr
- parse::macros::parse_macro_arg
- parse::macros::parse_macro_args
- parse::session::default_handler
- parse::session::silent_emitter
- patterns::can_be_overflowed_pat
- patterns::count_wildcard_suffix_len
- patterns::is_short_pattern
- patterns::is_short_pattern_inner
- patterns::rewrite_struct_pat
- patterns::rewrite_tuple_pat
- reorder::compare_items
- reorder::contains_macro_use_attr
- reorder::group_imports
- reorder::rewrite_reorderable_item
- reorder::rewrite_reorderable_or_regroupable_items
- reorder::wrap_reorderable_items
- rustfmt_diff::make_diff
- rustfmt_diff::print_diff
- skip::get_skip_names
- skip::is_skip_attr
- source_file::append_newline
- source_file::write_file
- stmt::format_stmt
- string::break_string
- string::detect_url
- string::graphemes_width
- string::is_new_line
- string::is_part_of_type
- string::is_punctuation
- string::is_valid_linebreak
- string::is_whitespace
- string::not_whitespace_except_line_feed
- string::rewrite_string
- string::trim_end_but_line_feed
- types::can_be_overflowed_type
- types::format_function_type
- types::get_tactics
- types::is_generic_bounds_in_order
- types::join_bounds
- types::join_bounds_inner
- types::opaque_ty
- types::rewrite_bare_fn
- types::rewrite_bounded_lifetime
- types::rewrite_generic_args
- types::rewrite_lifetime_param
- types::rewrite_path
- types::rewrite_path_segments
- types::rewrite_segment
- types::type_bound_colon
- utils::colon_spaces
- utils::contains_skip
- utils::count_lf_crlf
- utils::count_newlines
- utils::depr_skip_annotation
- utils::extra_offset
- utils::filter_attributes
- utils::first_line_contains_single_line_comment
- utils::first_line_ends_with
- utils::first_line_width
- utils::format_async
- utils::format_auto
- utils::format_constness
- utils::format_constness_right
- utils::format_defaultness
- utils::format_extern
- utils::format_mutability
- utils::format_unsafety
- utils::format_visibility
- utils::get_prefix_space_width
- utils::indent_next_line
- utils::inner_attributes
- utils::is_attributes_extendable
- utils::is_block_expr
- utils::is_empty_line
- utils::is_same_visibility
- utils::is_single_line
- utils::is_skip
- utils::is_skip_nested
- utils::is_valid_str
- utils::last_line_contains_single_line_comment
- utils::last_line_extendable
- utils::last_line_used_width
- utils::last_line_width
- utils::left_most_sub_expr
- utils::mk_sp
- utils::mk_sp_lo_plus_one
- utils::outer_attributes
- utils::ptr_vec_to_ref_vec
- utils::remove_trailing_white_spaces
- utils::rewrite_ident
- utils::semicolon_for_expr
- utils::semicolon_for_stmt
- utils::skip_annotation
- utils::starts_with_newline
- utils::stmt_expr
- utils::trim_left_preserve_layout
- utils::trimmed_last_line_width
- utils::unicode_str_width
- utils::wrap_str
- vertical::group_aligned_items
- vertical::rewrite_aligned_items_inner
- vertical::rewrite_with_alignment
- vertical::struct_field_prefix_max_min_width
Typedefs
- formatting::FileRecord
- formatting::FormatErrorMap
- formatting::SourceFile
- modules::FileModMap
- parse::parser::DirectoryOwnership
- parse::parser::ModError
- parse::parser::ModulePathSuccess
Statics
Constants
- comment::RUSTFMT_CUSTOM_COMMENT_PREFIX
- formatting::newline_style::CARRIAGE_RETURN
- formatting::newline_style::LINE_FEED
- formatting::newline_style::UNIX_NEWLINE
- formatting::newline_style::WINDOWS_NEWLINE
- items::DEFAULT_VISIBILITY
- macros::FORCED_BRACKET_MACROS
- overflow::SPECIAL_CASE_ATTR
- overflow::SPECIAL_CASE_MACROS
- parse::macros::RUST_KW
- shape::INDENT_BUFFER
- shape::INDENT_BUFFER_LEN
- shape::INFINITE_SHAPE_WIDTH
- string::MIN_STRING