Module helpers

Source

Traits§

BodyItems
Trait for getting the items of a body-item (an item that contains items), as a vector.
GenericParamEx
GetIdentifier
NameGreen
Trait for ast object with a name terminal.
OptionWrappedGenericParamListHelper
PathSegmentEx
Helper trait for ast::PathSegment.
QueryAttrs
Trait for querying attributes of AST items.
UsePathEx
Helper trait for ast::UsePath.
WrappedArgListHelper
WrappedGenericParamListHelper

Functions§

is_single_arg_attr
Checks if the given attribute has a single argument with the given name.