An open API service indexing awesome lists of open source software.

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.

Awesome Lists containing this project

README

          

# getset2
---
[![Rust](https://github.com/flier/rust-getset2/actions/workflows/ci.yml/badge.svg)](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"
```