Added #[pyclass(eq)] option to generate __eq__ based on PartialEq. Added #[pyclass(eq_int)] for simple enums to implement equality based on their discriminants.
#[pyclass(eq)]
__eq__
PartialEq
#[pyclass(eq_int)]