Struct pyo3::pyclass_init::PyNativeTypeInitializer [−][src]
pub struct PyNativeTypeInitializer<T: PyTypeInfo>(_);
Expand description
Initializer for Python native types, like PyDict
.
Trait Implementations
unsafe fn into_new_object(
self,
py: Python<'_>,
subtype: *mut PyTypeObject
) -> PyResult<*mut PyObject>
unsafe fn into_new_object(
self,
py: Python<'_>,
subtype: *mut PyTypeObject
) -> PyResult<*mut PyObject>
Safety Read more
This trait is private to implement; this method exists to make it impossible to implement outside the crate. Read more