5 releases
0.1.4 | May 19, 2023 |
---|---|
0.1.3 | Apr 13, 2021 |
0.1.2 | Apr 8, 2021 |
0.1.1 | Mar 17, 2021 |
0.1.0 | Mar 16, 2021 |
#14 in #lens
Used in structx
9KB
173 lines
Overview
This crate provides proc macros for simulating anonymous struct and named arguments in Rust:
-
structx!{}
for denoting values of anonymous structs. -
Structx!{}
for denoting types of anonymous structs. -
#[named_args]
for denoting functions with named arguments. -
args!{}
for denoting named arguments.
See crate structx
's README.md for more.
License
Under Apache License 2.0 or MIT License, at your will.
Dependencies
~240–690KB
~16K SLoC