Struct pyo3_ffi::PyPreConfig

source ·
#[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, }

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§

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.