Skip to main content

Crate spenso_macros

Crate spenso_macros 

Source

Attribute Macros§

track_usage
Call a lightweight usage recorder on entry to a function or impl method. Place this before pymethods/pyfunction. Class attributes run during module registration, so they deliberately do not count as user operations. With on_success, record after returning normally (and only for Ok on Result/PyResult methods). Getters and Python inspection hooks are skipped.

Derive Macros§

SimpleRepresentation