https://github.com/flier/rust-getset2
A procedural macro for generating the trivial getters and setters base on the fields in a structure.
https://github.com/flier/rust-getset2
Last synced: over 1 year ago
JSON representation
A procedural macro for generating the trivial getters and setters base on the fields in a structure.
- Host: GitHub
- URL: https://github.com/flier/rust-getset2
- Owner: flier
- Created: 2023-09-18T13:09:48.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-21T16:01:52.000Z (almost 3 years ago)
- Last Synced: 2025-01-21T22:09:43.672Z (over 1 year ago)
- Language: Rust
- Size: 155 KB
- Stars: 0
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# getset2
---
[](https://github.com/flier/rust-getset2/actions/workflows/ci.yml)
A procedural macro for generating the trivial getters and setters base on the fields in a structure.
## Example
```toml
[dependencies]
getset2 = "0.1"
```