pub enum PythonVirtualEnvKind {
Venv,
Virtualenv,
Conda,
Poetry,
Uv,
Pipenv,
}Expand description
Python virtual environment manager kind.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for PythonVirtualEnvKind
impl Clone for PythonVirtualEnvKind
Source§fn clone(&self) -> PythonVirtualEnvKind
fn clone(&self) -> PythonVirtualEnvKind
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 PythonVirtualEnvKind
impl Debug for PythonVirtualEnvKind
Source§impl Display for PythonVirtualEnvKind
impl Display for PythonVirtualEnvKind
Source§impl FromStr for PythonVirtualEnvKind
impl FromStr for PythonVirtualEnvKind
Source§type Err = PythonVirtualEnvError
type Err = PythonVirtualEnvError
The associated error which can be returned from parsing.
Source§fn from_str(
input: &str,
) -> Result<PythonVirtualEnvKind, <PythonVirtualEnvKind as FromStr>::Err>
fn from_str( input: &str, ) -> Result<PythonVirtualEnvKind, <PythonVirtualEnvKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for PythonVirtualEnvKind
impl Hash for PythonVirtualEnvKind
Source§impl Ord for PythonVirtualEnvKind
impl Ord for PythonVirtualEnvKind
Source§fn cmp(&self, other: &PythonVirtualEnvKind) -> Ordering
fn cmp(&self, other: &PythonVirtualEnvKind) -> 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 PythonVirtualEnvKind
impl PartialEq for PythonVirtualEnvKind
Source§fn eq(&self, other: &PythonVirtualEnvKind) -> bool
fn eq(&self, other: &PythonVirtualEnvKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PythonVirtualEnvKind
impl PartialOrd for PythonVirtualEnvKind
impl Copy for PythonVirtualEnvKind
impl Eq for PythonVirtualEnvKind
impl StructuralPartialEq for PythonVirtualEnvKind
Auto Trait Implementations§
impl Freeze for PythonVirtualEnvKind
impl RefUnwindSafe for PythonVirtualEnvKind
impl Send for PythonVirtualEnvKind
impl Sync for PythonVirtualEnvKind
impl Unpin for PythonVirtualEnvKind
impl UnsafeUnpin for PythonVirtualEnvKind
impl UnwindSafe for PythonVirtualEnvKind
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