Module pyo3::class::basic[][src]

Basic Python Object customization

Check the Python C API information for more information.

Parts of the documentation are copied from the respective methods from the typeobj docs

Enums

CompareOp

Operators for the richcmp method

Traits

PyObjectBoolProtocol
PyObjectBytesProtocol
PyObjectDelAttrProtocol
PyObjectFormatProtocol
PyObjectGetAttrProtocol
PyObjectHashProtocol
PyObjectProtocol

Basic Python class customization

PyObjectReprProtocol
PyObjectRichcmpProtocol
PyObjectSetAttrProtocol
PyObjectStrProtocol