Module rustfmt_nightly::attr
source ยท Expand description
Format attributes and meta items.
Modulesยง
- doc_
comment ๐
Traitsยง
- Meta
Visitor ๐
Functionsยง
- argument_
shape ๐ - attr_
prefix ๐ - filter_
inline_ ๐attrs Returns attributes that are withinouter_span
. - format_
derive ๐ - get_
attrs_ ๐from_ stmt Returns attributes on the given statement. - is_
derive ๐ - Rewrite the any doc comments which come before any other attributes.
- take_
while_ ๐with_ pred Returns the first group of attributes that fills the given predicate. We consider two doc comments are in different group if they are separated by normal comments.