Python type object information
PyObjectLayout | T: PyObjectLayout<U> represents that T is a concrete representaion of U in Python heap.
E.g., PyClassShell is a concrete representaion of all pyclass es, and ffi::PyObject
is of PyAny .
|
PyObjectSizedLayout | T: PyObjectSizedLayout<U> represents T is not a instance of
PyVarObject .
, in addition that T is a concrete representaion of U .
|
PyTypeInfo | Python type information.
All Python native types(e.g., PyDict ) and #[pyclass] structs implement this trait.
|
PyTypeObject | Python object types that have a corresponding type object.
|