#[repr(C)]pub struct PyInterpreterConfig {
pub use_main_obmalloc: c_int,
pub allow_fork: c_int,
pub allow_exec: c_int,
pub allow_threads: c_int,
pub allow_daemon_threads: c_int,
pub check_multi_interp_extensions: c_int,
pub gil: c_int,
}
Available on
Py_3_8
and non-PyPy
and non-Py_LIMITED_API
and Py_3_12
only.Fields§
§use_main_obmalloc: c_int
§allow_fork: c_int
§allow_exec: c_int
§allow_threads: c_int
§allow_daemon_threads: c_int
§check_multi_interp_extensions: c_int
§gil: c_int
Auto Trait Implementations§
impl Freeze for PyInterpreterConfig
impl RefUnwindSafe for PyInterpreterConfig
impl Send for PyInterpreterConfig
impl Sync for PyInterpreterConfig
impl Unpin for PyInterpreterConfig
impl UnwindSafe for PyInterpreterConfig
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