#[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,
}Available on
Py_3_8 and non-PyPy and non-Py_LIMITED_API only.Fields§
§_config_init: c_int§isolated: c_int§use_environment: c_int§dev_mode: c_int§install_signal_handlers: c_int§use_hash_seed: c_int§hash_seed: c_ulong§faulthandler: c_int§tracemalloc: c_int§import_time: c_int§show_ref_count: c_int§show_alloc_count: c_intAvailable on non-
§Py_3_9 only.dump_refs: c_int§malloc_stats: c_int§filesystem_encoding: *mut wchar_t§filesystem_errors: *mut wchar_t§pycache_prefix: *mut wchar_t§parse_argv: c_int§argv: PyWideStringList§program_name: *mut wchar_tAvailable on non-
§Py_3_10 only.xoptions: PyWideStringList§warnoptions: PyWideStringList§site_import: c_int§bytes_warning: c_int§inspect: c_int§interactive: c_int§optimization_level: c_int§parser_debug: c_int§write_bytecode: c_int§verbose: c_int§quiet: c_int§user_site_directory: c_int§configure_c_stdio: c_int§buffered_stdio: c_int§stdio_encoding: *mut wchar_t§stdio_errors: *mut wchar_t§check_hash_pycs_mode: *mut wchar_t§pathconfig_warnings: c_int§pythonpath_env: *mut wchar_t§home: *mut wchar_t§module_search_paths_set: c_int§module_search_paths: PyWideStringList§executable: *mut wchar_t§base_executable: *mut wchar_t§prefix: *mut wchar_t§base_prefix: *mut wchar_t§exec_prefix: *mut wchar_t§base_exec_prefix: *mut wchar_t§skip_source_first_line: c_int§run_command: *mut wchar_t§run_module: *mut wchar_t§run_filename: *mut wchar_t§_install_importlib: c_int§_init_main: c_intTrait Implementations§
Auto Trait Implementations§
impl Freeze for PyConfig
impl RefUnwindSafe for PyConfig
impl !Send for PyConfig
impl !Sync for PyConfig
impl Unpin for PyConfig
impl UnwindSafe for PyConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> SizedTypeProperties for T
impl<T> SizedTypeProperties for T
Source§#[doc(hidden)] const IS_ZST: bool = _
#[doc(hidden)] const IS_ZST: bool = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)] const LAYOUT: Layout = _
#[doc(hidden)] const LAYOUT: Layout = _
🔬This is a nightly-only experimental API. (
sized_type_properties)Source§#[doc(hidden)] const MAX_SLICE_LEN: usize = _
#[doc(hidden)] const MAX_SLICE_LEN: usize = _
🔬This is a nightly-only experimental API. (
sized_type_properties)The largest safe length for a
[Self]. Read more