Anonymous
A Rust library that provides a macro for creating anonymous structs.
Installation
Add this to your Cargo.toml:
[]
= "0.1.0"
Usage
You can use the structx! macro to create anonymous structs with named fields.
use structx;
Features
- Create structs on the fly without defining them first.
- Support for
derivemacros. - Type-safe field access.
License
MPL-2.0