Expand description
Structures and functions for handling syn::punctuated::Punctuated collections.
This module provides functionality to manipulate and ensure correct punctuation in syn::punctuated::Punctuated collections, commonly used in procedural macros to represent sequences of elements separated by punctuation marks, such as commas.
Modules§
- exposed
- Exposed namespace of the module.
- orphan
- Orphan namespace of the module.
- own
- Own namespace of the module.
- prelude
- Prelude to use essentials:
use my_module::prelude::*.
Functions§
- ensure_
trailing_ comma - Ensures that a
syn::punctuated::Punctuatedcollection ends with a comma if it contains elements.