Crate dess_proc_macros

source ·

Attribute Macros§

  • Generates list of commonly used derives
  • 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
  • Generates several methods for struct to create solver framework

Derive Macros§

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