Module pyo3::type_object [−][src]
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 representaion 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 representaion of U.
Python type information.
All Python native types (e.g., PyDict) and #[pyclass] structs implement this trait.
Python object types that have a corresponding type object.