pub struct LinkedWorkspacePlanner { /* private fields */ }Implementations§
Source§impl LinkedWorkspacePlanner
impl LinkedWorkspacePlanner
pub fn new(root: impl Into<PathBuf>) -> Self
pub fn with_seam_path(self, path: impl Into<PathBuf>) -> Self
pub fn plan( &self, desired: &DesiredModuleComposition, module_lock: &ApplicationModuleLock, reviewed_desired_document: &str, candidate_cargo_lock: Option<&str>, ) -> Result<LinkedWorkspacePlan, LinkedWorkspaceError>
pub fn prepare_cargo_resolution( &self, desired: &DesiredModuleComposition, current_lock: Option<&ApplicationModuleLock>, target_lock: &ApplicationModuleLock, reviewed_desired_document: &str, offline: bool, ) -> Result<LinkedCargoPreparation, LinkedWorkspaceError>
Trait Implementations§
Source§impl Clone for LinkedWorkspacePlanner
impl Clone for LinkedWorkspacePlanner
Source§fn clone(&self) -> LinkedWorkspacePlanner
fn clone(&self) -> LinkedWorkspacePlanner
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 Freeze for LinkedWorkspacePlanner
impl RefUnwindSafe for LinkedWorkspacePlanner
impl Send for LinkedWorkspacePlanner
impl Sync for LinkedWorkspacePlanner
impl Unpin for LinkedWorkspacePlanner
impl UnsafeUnpin for LinkedWorkspacePlanner
impl UnwindSafe for LinkedWorkspacePlanner
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