#[repr(C)]pub struct _inittab {
pub name: *const c_char,
pub initfunc: Option<unsafe extern "C" fn() -> *mut PyObject>,
}
Available on non-
Py_LIMITED_API
and non-PyPy
only.Fields§
§name: *const c_char
§initfunc: Option<unsafe extern "C" fn() -> *mut PyObject>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for _inittab
impl RefUnwindSafe for _inittab
impl !Send for _inittab
impl !Sync for _inittab
impl Unpin for _inittab
impl UnwindSafe for _inittab
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