Crate fastsim_proc_macros
source ·Expand description
Crate that provides procedural macros for fastsim-core
Attribute Macros§
- Adds pyo3 getters and setters for all fields, unless skip attribute is present.
- Adds an equivelent
*_doc: Option<String>
field for each field
Derive Macros§
- Derive implementation of ApproxEq trait
- Derive macro that creates
*HistoryVec
struct from*State
struct, with a corresponding Vec for each field in*State
.