#[derive(Group)]
Derive macro for Group.
Group
Implements Group for a struct by inverting each field componentwise.
#[derive(Semigroup, Monoid, Group)] struct Foo { a: i32, // inverse = negation b: MyGroup, // custom group }