Crate fastsim_proc_macros

Crate fastsim_proc_macros 

Source

Attribute Macros§

pyo3_api
Macro for creating appropriate setters and getters for pyo3 struct attributes and other, non-python API functionality
serde_api
Macro for creating appropriate setters and getters for pyo3 struct attributes and other, non-python API functionality
timer
macro for creating timing harness

Derive Macros§

HistoryVec
Generate HistoryVec that acts like a vec of states but stores each field of state as a vec field.
SetCumulative
Generate SetCumulative trait impl that work for struct and any nested fields with the #[has_state] attribute.
StateMethods
Generates remaining StateMethods child traits that work for struct and any nested fields with the #[has_state] attribute.