pub enum PythonInterpreterProfile {
Isolated,
Python,
}
Expand description
Defines the profile to use to configure a Python interpreter.
This effectively provides a template for seeding the initial values of
PyPreConfig
and PyConfig
C structs.
Serialization type: string
.
Variants§
Isolated
Python is isolated from the system.
See https://docs.python.org/3/c-api/init_config.html#isolated-configuration.
Serialized value: isolated
Python
Python interpreter behaves like python
.
See https://docs.python.org/3/c-api/init_config.html#python-configuration.
Serialized value: python
Trait Implementations§
source§impl Clone for PythonInterpreterProfile
impl Clone for PythonInterpreterProfile
source§fn clone(&self) -> PythonInterpreterProfile
fn clone(&self) -> PythonInterpreterProfile
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for PythonInterpreterProfile
impl Debug for PythonInterpreterProfile
source§impl Default for PythonInterpreterProfile
impl Default for PythonInterpreterProfile
source§fn default() -> PythonInterpreterProfile
fn default() -> PythonInterpreterProfile
Returns the “default value” for a type. Read more
source§impl PartialEq<PythonInterpreterProfile> for PythonInterpreterProfile
impl PartialEq<PythonInterpreterProfile> for PythonInterpreterProfile
source§fn eq(&self, other: &PythonInterpreterProfile) -> bool
fn eq(&self, other: &PythonInterpreterProfile) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.