#[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
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
)