#[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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties
)The largest safe length for a
[Self]
. Read more