Struct python3_sys::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 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto 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 Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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