☰
Module lists
Structs
Enums
Functions
?
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
🔒