Struct pyo3::pyclass_init::PyNativeTypeInitializer [−][src]
pub struct PyNativeTypeInitializer<T: PyTypeInfo>(_);
Expand description
Initializer for Python native type, 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
Auto Trait Implementations
impl<T> RefUnwindSafe for PyNativeTypeInitializer<T> where
T: RefUnwindSafe,
impl<T> Send for PyNativeTypeInitializer<T> where
T: Send,
impl<T> Sync for PyNativeTypeInitializer<T> where
T: Sync,
impl<T> Unpin for PyNativeTypeInitializer<T> where
T: Unpin,
impl<T> UnwindSafe for PyNativeTypeInitializer<T> where
T: UnwindSafe,