Module overflow

Source
Expand description

Rewrite a list some items with overflow.

Macrosยง

impl_into_overflowable_item_for_ast_node ๐Ÿ”’
impl_into_overflowable_item_for_rustfmt_types ๐Ÿ”’

Structsยง

Context ๐Ÿ”’

Enumsยง

OverflowableItem ๐Ÿ”’

Constantsยง

SPECIAL_CASE_ATTR ๐Ÿ”’
SPECIAL_CASE_MACROS ๐Ÿ”’
A list of format!-like macros, that take a long format string and a list of arguments to format.
SPECIAL_CASE_MACROS_V2 ๐Ÿ”’
Additional special case macros for version 2; these are separated to avoid breaking changes in version 1.

Traitsยง

IntoOverflowableItem ๐Ÿ”’

Functionsยง

can_be_overflowed ๐Ÿ”’
into_overflowable_list ๐Ÿ”’
last_item_shape ๐Ÿ”’
Returns a shape for the last argument which is going to be overflowed.
maybe_get_args_offset ๐Ÿ”’
In case special-case style is required, returns an offset from which we start horizontal layout.
need_block_indent ๐Ÿ”’
no_long_items ๐Ÿ”’
rewrite_with_angle_brackets ๐Ÿ”’
rewrite_with_parens ๐Ÿ”’
rewrite_with_square_brackets ๐Ÿ”’
shape_from_indent_style ๐Ÿ”’