GeezerVison is showing rustpython.github.io — rustpython_vm::PySettings - Rust
pub struct PySettings {
pub debug: bool,
pub inspect: bool,
pub optimize: u8,
pub no_user_site: bool,
pub no_site: bool,
pub ignore_environment: bool,
pub verbose: u8,
pub quiet: bool,
pub dont_write_bytecode: bool,
pub path_list: Vec<String>,
pub argv: Vec<String>,
pub initialization_parameter: InitParameter,
}Struct containing all kind of settings for the python vm.
Fields
debug: boolinspect: booloptimize: u8-O optimization switch counter
no_user_site: boolno_site: boolignore_environment: boolverbose: u8verbosity level (-v switch)
quiet: booldont_write_bytecode: boolpath_list: Vec<String>Environment PYTHONPATH and RUSTPYTHONPATH:
argv: Vec<String>initialization_parameter: InitParameterInitialization parameter to decide to initialize or not,
and to decide the importer required external filesystem access or not
Trait Implementations
Sensible default settings.
Returns the "default value" for a type. Read more
Auto Trait Implementations
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>, [src]
impl<T> Same<T> for T
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.
impl<V, T> VZip<V> for T where
V: MultiLane<T>,