Crate altrios_proc_macros
source ·Attribute Macros§
- macro for creating appropriate setters and getters for pyo3 struct attributes and other, non-python API functionality
Derive Macros§
- Generate
step
andsave_state
methods that work for struct and any nested fields with the#[has_state]
attribute. - generate HistoryVec that acts like a vec of States but stores each field of state as a vec field.
- macro for deriving default implementation of SerdeAPI trait