Crate derived[][src]

Expand description

derived: A macro to automate the boring stuff

The derived crate aims to provide macros to automate boring things like writing functions for constructors. Just look at the list of available macros and you’ll find an example for each.

Features

  • Ctor: To generate constructors
  • Gtor: To generate getters
  • Stor: To generate setters
  • Full lifetimes, generics and where clause support

Derive Macros

Ctor: Get a constructor derived

Gtor: Get the getters derived

Stor: Get the setters derived