MacrosΒ§
- get_
span π
StructsΒ§
- Attribute
Comment πMapper - Helper struct to map attributes to their associated comments in function headers.
- Attribute
Info π - Decision π
EnumsΒ§
- Attribute
Kind π - BinOp
Group π - Member
OrCall πArgs
TraitsΒ§
- BinOp
Ext π
FunctionsΒ§
- get_
callee_ πhead_ size - Calculates the size the calleeβs βhead,β excluding its arguments.
- has_
complex_ πsuccessor - is_
binary_ πexpr - is_call π
- is_
call_ πchain - is_
call_ πwith_ named_ args - Returns true if this is a call with named arguments (struct-style syntax).
Used to determine if
.fieldafter such a call should avoid breaking. E.g.,_lzSend({_dstEid: x, ...}).guidβ true (named args call) E.g.,someFunc(a, b).fieldβ false (positional args) - is_
call_ πwith_ opts_ and_ args - item_
needs_ πiso - Returns
trueif the item needs an isolated line break. - stmt_
needs_ πsemi
Type AliasesΒ§
- Attribute
Comment πMap