#[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: i32
§isolated: i32
§use_environment: i32
§dev_mode: i32
§install_signal_handlers: i32
§use_hash_seed: i32
§hash_seed: u64
§faulthandler: i32
§tracemalloc: i32
§import_time: i32
§show_ref_count: i32
§show_alloc_count: i32
Available on non-
§Py_3_9
only.dump_refs: i32
§malloc_stats: i32
§filesystem_encoding: *mut i32
§filesystem_errors: *mut i32
§pycache_prefix: *mut i32
§parse_argv: i32
§argv: PyWideStringList
§program_name: *mut i32
Available on non-
§Py_3_10
only.xoptions: PyWideStringList
§warnoptions: PyWideStringList
§site_import: i32
§bytes_warning: i32
§inspect: i32
§interactive: i32
§optimization_level: i32
§parser_debug: i32
§write_bytecode: i32
§verbose: i32
§quiet: i32
§user_site_directory: i32
§configure_c_stdio: i32
§buffered_stdio: i32
§stdio_encoding: *mut i32
§stdio_errors: *mut i32
§check_hash_pycs_mode: *mut i32
§pathconfig_warnings: i32
§pythonpath_env: *mut i32
§home: *mut i32
§module_search_paths_set: i32
§module_search_paths: PyWideStringList
§executable: *mut i32
§base_executable: *mut i32
§prefix: *mut i32
§base_prefix: *mut i32
§exec_prefix: *mut i32
§base_exec_prefix: *mut i32
§skip_source_first_line: i32
§run_command: *mut i32
§run_module: *mut i32
§run_filename: *mut i32
§_install_importlib: i32
§_init_main: i32
Trait 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> AssertNotZeroSized for T
impl<T> AssertNotZeroSized for T
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more