[−][src]Function pyo3::type_object::initialize_type
pub fn initialize_type<T>(
py: Python,
module_name: Option<&str>
) -> PyResult<*mut PyTypeObject> where
T: PyObjectAlloc + PyTypeInfo + PyMethodsProtocol,
Register new type in python object system.