#[repr(C)]pub struct PyModuleDef {
pub m_base: PyModuleDef_Base,
pub m_name: *const c_char,
pub m_doc: *const c_char,
pub m_size: Py_ssize_t,
pub m_methods: *mut PyMethodDef,
pub m_slots: *mut PyModuleDef_Slot,
pub m_traverse: Option<traverseproc>,
pub m_clear: Option<inquiry>,
pub m_free: Option<freefunc>,
}
Fields§
§m_base: PyModuleDef_Base
§m_name: *const c_char
§m_doc: *const c_char
§m_size: Py_ssize_t
§m_methods: *mut PyMethodDef
§m_slots: *mut PyModuleDef_Slot
§m_traverse: Option<traverseproc>
§m_clear: Option<inquiry>
§m_free: Option<freefunc>
Auto Trait Implementations§
impl Freeze for PyModuleDef
impl RefUnwindSafe for PyModuleDef
impl !Send for PyModuleDef
impl !Sync for PyModuleDef
impl Unpin for PyModuleDef
impl UnwindSafe for PyModuleDef
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