Module pyo3::type_object

source ·
Expand description

Python type object information

Traits

T: PyLayout<U> represents that T is a concrete representation of U in the Python heap. E.g., PyCell is a concrete representation of all pyclasses, and ffi::PyObject is of PyAny.
T: PySizedLayout<U> represents that T is not a instance of PyVarObject. In addition, that T is a concrete representation of U.
Python type information. All Python native types (e.g., PyDict) and #[pyclass] structs implement this trait.
PyTypeObjectDeprecated
Legacy trait which previously held the type_object method now found on PyTypeInfo.