Struct python3_sys::PyConfig

source ·
#[repr(C)]
pub struct PyConfig {
Show 58 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 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 orig_argv: PyWideStringList, pub argv: PyWideStringList, pub xoptions: PyWideStringList, pub warnoptions: PyWideStringList, pub site_import: c_int, pub bytes_warning: c_int, pub warn_default_encoding: 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 legacy_windows_stdio: c_int, pub check_hash_pycs_mode: *mut wchar_t, pub pathconfig_warnings: c_int, pub program_name: *mut wchar_t, pub pythonpath_env: *mut wchar_t, pub home: *mut wchar_t, pub platlibdir: *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, pub _isolated_interpreter: c_int,
}

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§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§orig_argv: PyWideStringList§argv: PyWideStringList§xoptions: PyWideStringList§warnoptions: PyWideStringList§site_import: c_int§bytes_warning: c_int§warn_default_encoding: 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§legacy_windows_stdio: c_int§check_hash_pycs_mode: *mut wchar_t§pathconfig_warnings: c_int§program_name: *mut wchar_t§pythonpath_env: *mut wchar_t§home: *mut wchar_t§platlibdir: *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_int§_isolated_interpreter: c_int

Trait Implementations§

source§

impl Clone for PyConfig

source§

fn clone(&self) -> PyConfig

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Default for PyConfig

source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> CloneToUninit for T
where T: Clone,

source§

default unsafe fn clone_to_uninit(&self, dst: *mut T)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dst. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.