#[repr(C)]pub struct PyPreConfig {
pub _config_init: i32,
pub parse_argv: i32,
pub isolated: i32,
pub use_environment: i32,
pub configure_locale: i32,
pub coerce_c_locale: i32,
pub coerce_c_locale_warn: i32,
pub utf8_mode: i32,
pub dev_mode: i32,
pub allocator: i32,
}
Fields§
§_config_init: i32
§parse_argv: i32
§isolated: i32
§use_environment: i32
§configure_locale: i32
§coerce_c_locale: i32
§coerce_c_locale_warn: i32
§utf8_mode: i32
§dev_mode: i32
§allocator: i32
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> AssertNotZeroSized for T
impl<T> AssertNotZeroSized for T
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more