[−][src]Function pyo3::typeob::initialize_type
pub fn initialize_type<T>(py: Python) -> PyResult<*mut PyTypeObject> where
T: PyObjectAlloc + PyTypeInfo + PyMethodsProtocol,
Register new type in python object system.
Currently, module_name is always None, so it defaults to pyo3_extension