Module item

Module 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::super::item;

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_comma
Ensures the last field in a struct has a trailing comma.