Re-exports§
pub use __define_config_type_on_enum_NewlineStyle::NewlineStyle;
pub use __define_config_type_on_enum_BraceStyle::BraceStyle;
pub use __define_config_type_on_enum_ControlBraceStyle::ControlBraceStyle;
pub use __define_config_type_on_enum_IndentStyle::IndentStyle;
pub use __define_config_type_on_enum_Density::Density;
pub use __define_config_type_on_enum_TypeDensity::TypeDensity;
pub use __define_config_type_on_enum_Heuristics::Heuristics;
pub use __define_config_type_on_enum_GroupImportsTactic::GroupImportsTactic;
pub use __define_config_type_on_enum_ImportGranularity::ImportGranularity;
pub use __define_config_type_on_enum_HexLiteralCase::HexLiteralCase;
pub use __define_config_type_on_enum_ReportTactic::ReportTactic;
pub use __define_config_type_on_enum_EmitMode::EmitMode;
pub use __define_config_type_on_enum_Color::Color;
pub use __define_config_type_on_enum_Version::Version;
pub use __define_config_type_on_enum_Verbosity::Verbosity;
pub use __define_config_type_on_enum_Edition::Edition;
pub use __define_config_type_on_enum_MatchArmLeadingPipe::MatchArmLeadingPipe;
pub use __define_config_type_on_enum_StyleEdition::StyleEdition;
Modules§
- __
define_ 🔒config_ type_ on_ enum_ Brace Style - __
define_ 🔒config_ type_ on_ enum_ Color - __
define_ 🔒config_ type_ on_ enum_ Control Brace Style - __
define_ 🔒config_ type_ on_ enum_ Density - __
define_ 🔒config_ type_ on_ enum_ Edition - __
define_ 🔒config_ type_ on_ enum_ Emit Mode - __
define_ 🔒config_ type_ on_ enum_ Group Imports Tactic - __
define_ 🔒config_ type_ on_ enum_ Heuristics - __
define_ 🔒config_ type_ on_ enum_ HexLiteral Case - __
define_ 🔒config_ type_ on_ enum_ Import Granularity - __
define_ 🔒config_ type_ on_ enum_ Indent Style - __
define_ 🔒config_ type_ on_ enum_ Match ArmLeading Pipe - __
define_ 🔒config_ type_ on_ enum_ Newline Style - __
define_ 🔒config_ type_ on_ enum_ Report Tactic - __
define_ 🔒config_ type_ on_ enum_ Style Edition - __
define_ 🔒config_ type_ on_ enum_ Type Density - __
define_ 🔒config_ type_ on_ enum_ Verbosity - __
define_ 🔒config_ type_ on_ enum_ Version
Structs§
- Array
Width - Attr
FnLike Width - Binop
Separator - Blank
Lines Lower Bound - Blank
Lines Upper Bound - Brace
Style Config - Chain
Width - Color
Config - Combine
Control Expr - Comment
Width - Condense
Wildcard Suffixes - Control
Brace Style Config - Disable
AllFormatting - DocComment
Code Block Width - Edition
Config - Emit
Mode Config - Empty
Item Single Line - Enum
Discrim Align Threshold - Error
OnLine Overflow - Error
OnUnformatted - File
Lines Config - FnArgs
Layout - FnCall
Width - FnParams
Layout - FnSingle
Line - Force
Explicit Abi - Force
Multiline Blocks - Format
Code InDoc Comments - Format
Generated Files - Format
Macro Bodies - Format
Macro Matchers - Format
Strings - Generated
Marker Line Search Limit - Group
Imports Tactic Config - Hard
Tabs - HexLiteral
Case Config - Hide
Parse Errors - Ignore
- Ignore
List - A set of directories, files and modules that rustfmt should ignore.
- Imports
Granularity Config - Imports
Indent - Imports
Layout - Indent
Style Config - Inline
Attribute Width - Make
Backup - Match
ArmBlocks - Match
ArmLeading Pipe Config - Match
Block Trailing Comma - MaxWidth
- Merge
Derives - Merge
Imports - Newline
Style Config - Normalize
Comments - Normalize
DocAttributes - Overflow
Delimited Expr - Print
Misformatted File Names - Remove
Nested Parens - Reorder
Impl Items - Reorder
Imports - Reorder
Modules - Required
Version - Short
Array Element Width Threshold - Show
Parse Errors - Single
Line IfElse MaxWidth - Single
Line LetElse MaxWidth - Skip
Children - Skip
Macro Invocations - Space
After Colon - Space
Before Colon - Spaces
Around Ranges - Struct
Field Align Threshold - Struct
LitSingle Line - Struct
LitWidth - Struct
Variant Width - Style
Edition Config - TabSpaces
- Trailing
Comma - Trailing
Semicolon - Type
Punctuation Density - Unstable
Features - UseField
Init Shorthand - UseSmall
Heuristics - UseTry
Shorthand - Verbose
- Version
Config - Where
Single Line - Width
Heuristics - Width
Heuristics Config - Wrap
Comments
Traits§
- CliOptions
- Maps client-supplied options to Rustfmt’s internals, mostly overriding values in a config with values from the command line.