pub struct ModuleChangePlanner<G = CargoGenerateLockfile> { /* private fields */ }Implementations§
Source§impl<G> ModuleChangePlanner<G>where
G: CargoLockGenerator,
impl<G> ModuleChangePlanner<G>where
G: CargoLockGenerator,
pub fn with_cargo_generator( workspace_root: impl Into<PathBuf>, generator: G, ) -> Self
pub fn plan( &self, request: &ModuleChangePlanRequest, ) -> Result<ModuleChangePlan, ModuleChangePlannerError>
Trait Implementations§
Source§impl<G: Clone> Clone for ModuleChangePlanner<G>
impl<G: Clone> Clone for ModuleChangePlanner<G>
Source§fn clone(&self) -> ModuleChangePlanner<G>
fn clone(&self) -> ModuleChangePlanner<G>
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 moreAuto Trait Implementations§
impl<G> Freeze for ModuleChangePlanner<G>where
G: Freeze,
impl<G> RefUnwindSafe for ModuleChangePlanner<G>where
G: RefUnwindSafe,
impl<G> Send for ModuleChangePlanner<G>where
G: Send,
impl<G> Sync for ModuleChangePlanner<G>where
G: Sync,
impl<G> Unpin for ModuleChangePlanner<G>where
G: Unpin,
impl<G> UnsafeUnpin for ModuleChangePlanner<G>where
G: UnsafeUnpin,
impl<G> UnwindSafe for ModuleChangePlanner<G>where
G: UnwindSafe,
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