#[repr(C)]pub struct PyConfig {Show 54 fields
pub _config_init: c_int,
pub isolated: c_int,
pub use_environment: c_int,
pub dev_mode: c_int,
pub install_signal_handlers: c_int,
pub use_hash_seed: c_int,
pub hash_seed: c_ulong,
pub faulthandler: c_int,
pub tracemalloc: c_int,
pub import_time: c_int,
pub show_ref_count: c_int,
pub show_alloc_count: c_int,
pub dump_refs: c_int,
pub malloc_stats: c_int,
pub filesystem_encoding: *mut wchar_t,
pub filesystem_errors: *mut wchar_t,
pub pycache_prefix: *mut wchar_t,
pub parse_argv: c_int,
pub argv: PyWideStringList,
pub program_name: *mut wchar_t,
pub xoptions: PyWideStringList,
pub warnoptions: PyWideStringList,
pub site_import: c_int,
pub bytes_warning: c_int,
pub inspect: c_int,
pub interactive: c_int,
pub optimization_level: c_int,
pub parser_debug: c_int,
pub write_bytecode: c_int,
pub verbose: c_int,
pub quiet: c_int,
pub user_site_directory: c_int,
pub configure_c_stdio: c_int,
pub buffered_stdio: c_int,
pub stdio_encoding: *mut wchar_t,
pub stdio_errors: *mut wchar_t,
pub check_hash_pycs_mode: *mut wchar_t,
pub pathconfig_warnings: c_int,
pub pythonpath_env: *mut wchar_t,
pub home: *mut wchar_t,
pub module_search_paths_set: c_int,
pub module_search_paths: PyWideStringList,
pub executable: *mut wchar_t,
pub base_executable: *mut wchar_t,
pub prefix: *mut wchar_t,
pub base_prefix: *mut wchar_t,
pub exec_prefix: *mut wchar_t,
pub base_exec_prefix: *mut wchar_t,
pub skip_source_first_line: c_int,
pub run_command: *mut wchar_t,
pub run_module: *mut wchar_t,
pub run_filename: *mut wchar_t,
pub _install_importlib: c_int,
pub _init_main: c_int,
}Fields
_config_init: c_intisolated: c_intuse_environment: c_intdev_mode: c_intinstall_signal_handlers: c_intuse_hash_seed: c_inthash_seed: c_ulongfaulthandler: c_inttracemalloc: c_intimport_time: c_intshow_ref_count: c_intshow_alloc_count: c_intdump_refs: c_intmalloc_stats: c_intfilesystem_encoding: *mut wchar_tfilesystem_errors: *mut wchar_tpycache_prefix: *mut wchar_tparse_argv: c_intargv: PyWideStringListprogram_name: *mut wchar_txoptions: PyWideStringListwarnoptions: PyWideStringListsite_import: c_intbytes_warning: c_intinspect: c_intinteractive: c_intoptimization_level: c_intparser_debug: c_intwrite_bytecode: c_intverbose: c_intquiet: c_intuser_site_directory: c_intconfigure_c_stdio: c_intbuffered_stdio: c_intstdio_encoding: *mut wchar_tstdio_errors: *mut wchar_tcheck_hash_pycs_mode: *mut wchar_tpathconfig_warnings: c_intpythonpath_env: *mut wchar_thome: *mut wchar_tmodule_search_paths_set: c_intmodule_search_paths: PyWideStringListexecutable: *mut wchar_tbase_executable: *mut wchar_tprefix: *mut wchar_tbase_prefix: *mut wchar_texec_prefix: *mut wchar_tbase_exec_prefix: *mut wchar_tskip_source_first_line: c_intrun_command: *mut wchar_trun_module: *mut wchar_trun_filename: *mut wchar_t_install_importlib: c_int_init_main: c_intTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for PyConfig
impl !Send for PyConfig
impl !Sync for PyConfig
impl Unpin for PyConfig
impl UnwindSafe for PyConfig
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more