Crate pyo3_special_method_derive_macro
Source - richcmp_derive_with
- AutoDebug
- Implement
PyDebug on a struct or enum. Implements Debug based on PyDebug if the type does not. - AutoDisplay
- Implement
PyDisplay on a struct or enum. Implements Display based on PyDisplay if the type does not. - Dict
- Add a
__dict__ attribute to a struct or enum. - Dir
- Add a
__dir__ method to a struct or enum. - Getattr
- Add a
__getattr__ method to a struct or enum. - Repr
- Add a
__repr__ method to the struct or enum. - Str
- Add a
__str__ method to the struct or enum.