pub enum PythonEnvVar {
VirtualEnv,
PythonPath,
PythonHome,
}Expand description
Python environment variable labels.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PythonEnvVar
impl Clone for PythonEnvVar
Source§fn clone(&self) -> PythonEnvVar
fn clone(&self) -> PythonEnvVar
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PythonEnvVar
impl Debug for PythonEnvVar
Source§impl Display for PythonEnvVar
impl Display for PythonEnvVar
Source§impl FromStr for PythonEnvVar
impl FromStr for PythonEnvVar
Source§type Err = PythonVirtualEnvError
type Err = PythonVirtualEnvError
The associated error which can be returned from parsing.
Source§fn from_str(input: &str) -> Result<PythonEnvVar, <PythonEnvVar as FromStr>::Err>
fn from_str(input: &str) -> Result<PythonEnvVar, <PythonEnvVar as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for PythonEnvVar
impl Hash for PythonEnvVar
Source§impl Ord for PythonEnvVar
impl Ord for PythonEnvVar
Source§fn cmp(&self, other: &PythonEnvVar) -> Ordering
fn cmp(&self, other: &PythonEnvVar) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PythonEnvVar
impl PartialEq for PythonEnvVar
Source§fn eq(&self, other: &PythonEnvVar) -> bool
fn eq(&self, other: &PythonEnvVar) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PythonEnvVar
impl PartialOrd for PythonEnvVar
impl Copy for PythonEnvVar
impl Eq for PythonEnvVar
impl StructuralPartialEq for PythonEnvVar
Auto Trait Implementations§
impl Freeze for PythonEnvVar
impl RefUnwindSafe for PythonEnvVar
impl Send for PythonEnvVar
impl Sync for PythonEnvVar
impl Unpin for PythonEnvVar
impl UnsafeUnpin for PythonEnvVar
impl UnwindSafe for PythonEnvVar
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