#[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 moreimpl Copy for PyModuleDef_Base
Auto Trait Implementations§
impl Freeze for PyModuleDef_Base
impl RefUnwindSafe for PyModuleDef_Base
impl !Send for PyModuleDef_Base
impl !Sync for PyModuleDef_Base
impl Unpin for PyModuleDef_Base
impl UnwindSafe for PyModuleDef_Base
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)