Expand description
Rewrite a list some items with overflow.
Macros§
Structs§
- Context 🔒
Enums§
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§
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