Expand description
Python type object information
Traitsยง
T: PyLayout<U>represents thatTis a concrete representation ofUin the Python heap. E.g.,PyClassObjectis a concrete representation of allpyclasses, andffi::PyObjectis ofPyAny.- Implemented by types which can be used as a concrete Python type inside
Py<T>smart pointers. - Python type information. All Python native types (e.g.,
PyDict) and#[pyclass]structs implement this trait.