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
sourceimpl Clone for PyPreConfig
impl Clone for PyPreConfig
sourcefn clone(&self) -> PyPreConfig
fn clone(&self) -> PyPreConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl Copy for PyPreConfig
Auto Trait Implementations
impl RefUnwindSafe for PyPreConfig
impl Send for PyPreConfig
impl Sync for PyPreConfig
impl Unpin for PyPreConfig
impl UnwindSafe for PyPreConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more