#[derive(SitePairEnergy)]Expand description
Automatically implement the hoomd_interaction::SitePairEnergy trait.
The implemented site_pair_energy sums the result of site_pair_energy
over all fields. The implementation returns early when any one field returns
infinity. The implemented site_pair_energy_initial behaves similarly.
The derived is_only_infinite_or_zero returns true only when all fields
also return true for the same method.
Valid on:
- Structs with named fields.
- Tuple structs.