podstru-internal 0.1.1

Bureaucratic structs to speed up rust development
Documentation
  • Coverage
  • 0%
    0 out of 4 items documented0 out of 2 items with examples
  • Size
  • Source code size: 13.81 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 1 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Links
  • welschmorgan/rs-podstru
    0 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • welschmorgan

POD

Apache License Crates.io rust release

The pod crate supports auto-generating the most basic operations on pod-like structs. It alleviates the burden of having to write bureaucratic funcs and patterns.

It currently supports the following:

  • Generating a builder pattern via the Builder derive macro
  • Generating field setters via the Setters derive macro
  • Generating field getters via the Getters derive macro
  • Generating field setters AND getters via the Fields derive macro
  • Generating new constructor via the Ctor derive macro

Crates structure

3 crates are available:

  • internal - this provides the traits used by the derive macros
  • derive - the derive macros
  • public - the reexported traits and derive macros

Examples

Authors

  • Morgan Welsch