Crates.io | structx_derive |
lib.rs | structx_derive |
version | 0.1.4 |
source | src |
created_at | 2021-03-16 16:07:47.638499 |
updated_at | 2023-05-19 15:40:51.955104 |
description | Macros for anonymous struct and named arguments. |
homepage | |
repository | https://github.com/oooutlk/structx |
max_upload_size | |
id | 369734 |
size | 8,864 |
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.
Under Apache License 2.0 or MIT License, at your will.