rustfmt_nightly
1.79.0-nightly
(3a36386dc 2024-04-25)
Module lists
Structs
Enums
Functions
In crate rustfmt_nightly
?
Settings
Module
rustfmt_nightly
::
lists
Copy item path
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
🔒