#[derive(DeltaEnergyOne)]Expand description
Automatically implement the hoomd_interaction::DeltaEnergyOne trait.
The implemented delta_energy_one sums the result of delta_energy_one
over all fields. The implementation returns early when any one field returns
infinity.
Valid on:
- Structs with named fields.
- Tuple structs.