Docs.rs
enum_common_fields-0.7.0
enum_common_fields 0.7.0
Docs.rs crate page
MIT
Links
Homepage
Repository
crates.io
Source
Owners
eliduvid
Dependencies
proc-macro2 ^1.0
normal
quote ^1
normal
syn ^2.0.15
normal
Versions
50%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
enum_
common_
fields
0.7.0
All Items
Crate Items
Derive Macros
Crate
enum_common_fields
Copy item path
Source
Derive Macros
ยง
Enum
Common
Fields
Macro to generate getters/setters for common fields in an enum. Meaning, that if every variant of your enum has some field, you could access it though field(), field_mut() or into_field() accessors respectively.