Structs§
- Generated
Function Path Segment - A segment of the path of a generated function - only displayable, as its shape is not meaningful to its callers.
Traits§
- Body
Items - Trait for getting the items of a body-item (an item that contains items), as an iterator.
- Generic
Param Ex - GetIdentifier
- HasName
- Provides methods to extract a name of AST objects.
- IsDependent
Type - Helper trait for check syntactically if a type is dependent on a given identifier.
- Name
Green - Trait for ast object with a name terminal.
- Option
Wrapped Generic Param List Helper - Path
Segment Ex - Helper trait for ast::PathSegment.
- Query
Attrs - Trait for querying attributes of AST items.
- UsePath
Ex - Helper trait for ast::UsePath.
- Wrapped
ArgList Helper - Wrapped
Generic Param List Helper
Functions§
- for_
each_ generated_ function_ path_ segment - Calls
handle_segmentfor each segment of the path ofnode’s generated function, from the outermost segment inwards. See generated_function_path. - generated_
function_ path - Returns the path of the generated function created for
node- or for its closest ancestor that is lowered into a generated function - relative to the function it is defined in. - is_
single_ arg_ attr - Checks if the given attribute has a single argument with the given name.