Module macro_tools::item

source ·
Expand description

This module provides various utilities and namespaces for working with syn::Item, specifically focusing on ensuring syntactical correctness and managing different visibility levels within the code. It includes functions to manipulate the structure of items, handle different kinds of fields, and provide a structured approach to organizing the codebase into different access levels.

Re-exports§

  • pub use super::exposed::*;

Functions§

  • Ensures the last field in a struct has a trailing comma.