Module rustfmt_nightly::items

source ·

Structs

FnSig 🔒
Represents a fn’s signature.
Item 🔒
OpaqueType 🔒

Enums

BracePos 🔒
Kind of spaces to put before where.

Constants

Functions

Recover any missing comments between the param and the type.
Returns true for mod foo;, false for mod foo { .. }.
Rewrite the attributes of an item.
Rewrite bounds on a where clause.
Rewrite extern crate foo;. The given shape is used to format the extern crate’s attributes.
Rewrite an inline mod. The given shape is used to format the mod’s attributes.
rewrite_ty 🔒
Rewrite where and comment around it.