pub struct CargoWorkspace {
pub root_path: PathBuf,
pub workspace_type: WorkspaceType,
pub members: Vec<CargoPackage>,
pub cargo_toml_path: PathBuf,
pub cargo_lock_path: Option<PathBuf>,
pub target_dir: PathBuf,
}Fields§
§root_path: PathBuf§workspace_type: WorkspaceType§members: Vec<CargoPackage>§cargo_toml_path: PathBuf§cargo_lock_path: Option<PathBuf>§target_dir: PathBufTrait Implementations§
Source§impl Clone for CargoWorkspace
impl Clone for CargoWorkspace
Source§fn clone(&self) -> CargoWorkspace
fn clone(&self) -> CargoWorkspace
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 CargoWorkspace
impl RefUnwindSafe for CargoWorkspace
impl Send for CargoWorkspace
impl Sync for CargoWorkspace
impl Unpin for CargoWorkspace
impl UnsafeUnpin for CargoWorkspace
impl UnwindSafe for CargoWorkspace
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