Struct pyo3_ffi::PyModuleDef_Base
source · #[repr(C)]pub struct PyModuleDef_Base {
pub ob_base: PyObject,
pub m_init: Option<extern "C" fn() -> *mut PyObject>,
pub m_index: Py_ssize_t,
pub m_copy: *mut PyObject,
}
Fields§
§ob_base: PyObject
§m_init: Option<extern "C" fn() -> *mut PyObject>
§m_index: Py_ssize_t
§m_copy: *mut PyObject
Trait Implementations§
source§impl Clone for PyModuleDef_Base
impl Clone for PyModuleDef_Base
source§fn clone(&self) -> PyModuleDef_Base
fn clone(&self) -> PyModuleDef_Base
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more