Crate dess_proc_macros

Source

Attribute Macros§

common_derives
Generates list of commonly used derives
pyo3_api
Generates pyo3 api for struct.
Helper attributes: skip_get – skips generating getter for field walk – at struct level, tells macro to generate walk_py method that calls walk
solver
Generates several methods for struct to create solver framework

Derive Macros§

BareClone
Derives bare_clone method
HistoryMethods
Derives save_state method for struct and all fields marked with save_state or use_state attributes
HistoryVec
generate HistoryVec that acts like a vec of States but stores each field of state as a vec field.
Pyo3ApiCleanup
Dummy derive macro for registering [pyo3_api] attributes.
This may not be the cleanest way to do this.