pub struct UvTool;
Expand description
UV migration tool implementation
Trait Implementations§
Source§impl MigrationTool for UvTool
impl MigrationTool for UvTool
Source§fn prepare_project(
&self,
project_dir: &Path,
file_tracker: &mut FileTrackerGuard,
project_type: &ProjectType,
) -> Result<()>
fn prepare_project( &self, project_dir: &Path, file_tracker: &mut FileTrackerGuard, project_type: &ProjectType, ) -> Result<()>
Prepares a project for dependency management with a specific tool
Source§fn add_dependencies(
&self,
project_dir: &Path,
dependencies: &[Dependency],
) -> Result<()>
fn add_dependencies( &self, project_dir: &Path, dependencies: &[Dependency], ) -> Result<()>
Adds dependencies to the project
Auto Trait Implementations§
impl Freeze for UvTool
impl RefUnwindSafe for UvTool
impl Send for UvTool
impl Sync for UvTool
impl Unpin for UvTool
impl UnwindSafe for UvTool
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more