#[repr(C)]pub struct PyPreConfig {
pub _config_init: c_int,
pub parse_argv: c_int,
pub isolated: c_int,
pub use_environment: c_int,
pub configure_locale: c_int,
pub coerce_c_locale: c_int,
pub coerce_c_locale_warn: c_int,
pub utf8_mode: c_int,
pub dev_mode: c_int,
pub allocator: c_int,
}
Available on
Py_3_8
and non-PyPy
and non-Py_LIMITED_API
only.Fields§
§_config_init: c_int
§parse_argv: c_int
§isolated: c_int
§use_environment: c_int
§configure_locale: c_int
§coerce_c_locale: c_int
§coerce_c_locale_warn: c_int
§utf8_mode: c_int
§dev_mode: c_int
§allocator: c_int
Trait Implementations§
Source§impl Clone for PyPreConfig
impl Clone for PyPreConfig
Source§fn clone(&self) -> PyPreConfig
fn clone(&self) -> PyPreConfig
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 PyPreConfig
Auto Trait Implementations§
impl Freeze for PyPreConfig
impl RefUnwindSafe for PyPreConfig
impl Send for PyPreConfig
impl Sync for PyPreConfig
impl Unpin for PyPreConfig
impl UnwindSafe for PyPreConfig
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