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