Module macro_tools::generic_args

source ·
Expand description

Protected namespace of the module.

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§

  • pub use super::exposed::*;

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.