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