#[repr(C)]
pub struct PyConfig {
Show 54 fields pub _config_init: i32, pub isolated: i32, pub use_environment: i32, pub dev_mode: i32, pub install_signal_handlers: i32, pub use_hash_seed: i32, pub hash_seed: u64, pub faulthandler: i32, pub tracemalloc: i32, pub import_time: i32, pub show_ref_count: i32, pub show_alloc_count: i32, pub dump_refs: i32, pub malloc_stats: i32, pub filesystem_encoding: *mut i32, pub filesystem_errors: *mut i32, pub pycache_prefix: *mut i32, pub parse_argv: i32, pub argv: PyWideStringList, pub program_name: *mut i32, pub xoptions: PyWideStringList, pub warnoptions: PyWideStringList, pub site_import: i32, pub bytes_warning: i32, pub inspect: i32, pub interactive: i32, pub optimization_level: i32, pub parser_debug: i32, pub write_bytecode: i32, pub verbose: i32, pub quiet: i32, pub user_site_directory: i32, pub configure_c_stdio: i32, pub buffered_stdio: i32, pub stdio_encoding: *mut i32, pub stdio_errors: *mut i32, pub check_hash_pycs_mode: *mut i32, pub pathconfig_warnings: i32, pub pythonpath_env: *mut i32, pub home: *mut i32, pub module_search_paths_set: i32, pub module_search_paths: PyWideStringList, pub executable: *mut i32, pub base_executable: *mut i32, pub prefix: *mut i32, pub base_prefix: *mut i32, pub exec_prefix: *mut i32, pub base_exec_prefix: *mut i32, pub skip_source_first_line: i32, pub run_command: *mut i32, pub run_module: *mut i32, pub run_filename: *mut i32, pub _install_importlib: i32, pub _init_main: i32,
}

Fields

_config_init: i32isolated: i32use_environment: i32dev_mode: i32install_signal_handlers: i32use_hash_seed: i32hash_seed: u64faulthandler: i32tracemalloc: i32import_time: i32show_ref_count: i32show_alloc_count: i32
This is supported on non-Py_3_9 only.
dump_refs: i32malloc_stats: i32filesystem_encoding: *mut i32filesystem_errors: *mut i32pycache_prefix: *mut i32parse_argv: i32argv: PyWideStringListprogram_name: *mut i32
This is supported on non-Py_3_10 only.
xoptions: PyWideStringListwarnoptions: PyWideStringListsite_import: i32bytes_warning: i32inspect: i32interactive: i32optimization_level: i32parser_debug: i32write_bytecode: i32verbose: i32quiet: i32user_site_directory: i32configure_c_stdio: i32buffered_stdio: i32stdio_encoding: *mut i32stdio_errors: *mut i32check_hash_pycs_mode: *mut i32pathconfig_warnings: i32pythonpath_env: *mut i32home: *mut i32module_search_paths_set: i32module_search_paths: PyWideStringListexecutable: *mut i32base_executable: *mut i32prefix: *mut i32base_prefix: *mut i32exec_prefix: *mut i32base_exec_prefix: *mut i32skip_source_first_line: i32run_command: *mut i32run_module: *mut i32run_filename: *mut i32_install_importlib: i32_init_main: i32

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.