Expand description
Python type object information
Traits§
- PyLayout
- T: PyLayout<U>represents that- Tis a concrete representation of- Uin the Python heap. E.g.,- PyClassObjectis a concrete representation of all- pyclasses, and- ffi::PyObjectis of- PyAny.
- PySizedLayout 
- T: PySizedLayout<U>represents that- Tis not a instance of- PyVarObject.
- PyTypeCheck 
- Implemented by types which can be used as a concrete Python type inside Py<T>smart pointers.
- PyTypeInfo 
- Python type information.
All Python native types (e.g., PyDict) and#[pyclass]structs implement this trait.