Skip to main content

Module types

Module types 

Source

Macrosยง

concat_expr ๐Ÿ”’
conf_enum ๐Ÿ”’
name_or_lit ๐Ÿ”’

Structsยง

DisallowedPath
MacroMatcher
Rename
SourceItemOrdering
Represents which item categories are enabled for ordering.
SourceItemOrderingModuleItemGroupings
Represents the configured ordering of items within a module.
SourceItemOrderingTraitAssocItemKinds
Represents the order in which associated trait items should be ordered.

Enumsยง

BraceKind ๐Ÿ”’
InherentImplLintScope
MatchLintBehaviour
PubUnderscoreFieldsBehaviour
SourceItemOrderingCategory
Represents the item categories that can be ordered by the source ordering lint.
SourceItemOrderingModuleItemKind
SourceItemOrderingTraitAssocItemKind
SourceItemOrderingWithinModuleItemGroupings
Describes which specific groupings should have their items ordered alphabetically.
TraitImplItemOrder

Functionsยง

create_disallowed_map
Creates a map of disallowed items to the reason they were disallowed.

Type Aliasesยง

DisallowedPathWithoutReplacement