Module macro_tools::generic_args

source ·
Expand description

This module provides utilities to handle and manipulate generic arguments using the syn crate. It includes traits and functions for transforming, merging, and managing generic parameters within procedural macros, enabling seamless syntactic analysis and code generation.

Re-exports§

Modules§

  • Exposed namespace of the module.
  • Orphan namespace of the module.
  • Prelude to use essentials: use my_module::prelude::*.
  • Protected namespace of the module.

Traits§

  • A trait for converting a reference to an existing type into a syn::AngleBracketedGenericArguments.

Functions§

  • Merges two syn::AngleBracketedGenericArguments instances into a new one, prioritizing lifetime parameters before other types of generic arguments.