☰
Module lists
rustfmt_nightly
1.75.0-dev
Module lists
Structs
Enums
Functions
In crate rustfmt_nightly
Modules
attr
chains
closures
comment
config
coverage
emitter
expr
format_report_formatter
formatting
ignore_path
imports
items
lists
macros
matches
missed_spans
modules
overflow
pairs
parse
patterns
release_channel
reorder
rewrite
rustfmt_diff
shape
skip
source_file
source_map
spanned
stmt
string
types
utils
vertical
visitor
Macros
is_nightly_channel
Structs
Config
FileLines
FormatReport
FormatReportFormatter
FormatReportFormatterBuilder
FormattedSnippet
ModifiedChunk
ModifiedLines
Range
Session
Enums
Color
Edition
EmitMode
ErrorKind
FileName
Input
NewlineStyle
Verbosity
Traits
CliOptions
Functions
create_emitter
format_code_block
format_snippet
load_config
?
Module
rustfmt_nightly
::
lists
source
·
[
−
]
Expand description
Format list-like expressions and items.
Structs
ListFormatting
🔒
ListItem
🔒
ListItems
🔒
Enums
ListItemCommentStyle
🔒
Separator
🔒
The type of separator for lists.
Functions
calculate_width
🔒
Returns the count and total width of the list items.
comment_len
🔒
definitive_tactic
🔒
extract_post_comment
🔒
extract_pre_comment
🔒
get_comment_end
🔒
has_extra_newline
🔒
itemize_list
🔒
max_width_of_item_with_post_comment
🔒
post_comment_alignment
🔒
shape_for_tactic
🔒
struct_lit_formatting
🔒
struct_lit_shape
🔒
struct_lit_tactic
🔒
total_item_width
🔒
write_list
🔒