pub unsafe trait PyTypeObject: PyTypeInfo { }
👎 Deprecated since 0.17.0:

PyTypeObject::type_object was moved to PyTypeInfo::type_object

Expand description

Legacy trait which previously held the type_object method now found on PyTypeInfo.

Safety

This trait used to have stringent safety requirements, but they are now irrelevant as it is deprecated.

Implementors