pub enum PyTool {
Uv,
Ruff,
Ty,
}Expand description
One of the tools.
Variants§
Implementations§
Source§impl PyTool
impl PyTool
pub const ALL: [PyTool; 3]
Sourcepub fn env_var(self) -> &'static str
pub fn env_var(self) -> &'static str
The environment variable that names its program and wins over the settings.
Sourcepub fn purpose(self) -> &'static str
pub fn purpose(self) -> &'static str
What the app uses it for, in a sentence (the Settings row).
Sourcepub fn install_url(self) -> &'static str
pub fn install_url(self) -> &'static str
Where to install it.
Trait Implementations§
impl Copy for PyTool
impl Eq for PyTool
impl StructuralPartialEq for PyTool
Auto Trait Implementations§
impl Forget for PyTool
impl Freeze for PyTool
impl Move for PyTool
impl RefUnwindSafe for PyTool
impl Send for PyTool
impl Sync for PyTool
impl Unpin for PyTool
impl UnsafeUnpin for PyTool
impl UnwindSafe for PyTool
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