pub struct WorkspaceTarget {
pub workspace_root: PathBuf,
pub target_dir: PathBuf,
}Expand description
One Cargo workspace and the target directory recorded for its build.
Fields§
§workspace_root: PathBuf§target_dir: PathBufTrait Implementations§
Source§impl Clone for WorkspaceTarget
impl Clone for WorkspaceTarget
Source§fn clone(&self) -> WorkspaceTarget
fn clone(&self) -> WorkspaceTarget
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 moreSource§impl Debug for WorkspaceTarget
impl Debug for WorkspaceTarget
impl Eq for WorkspaceTarget
Source§impl Ord for WorkspaceTarget
impl Ord for WorkspaceTarget
Source§fn cmp(&self, other: &WorkspaceTarget) -> Ordering
fn cmp(&self, other: &WorkspaceTarget) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for WorkspaceTarget
impl PartialEq for WorkspaceTarget
Source§impl PartialOrd for WorkspaceTarget
impl PartialOrd for WorkspaceTarget
impl StructuralPartialEq for WorkspaceTarget
Auto Trait Implementations§
impl Freeze for WorkspaceTarget
impl RefUnwindSafe for WorkspaceTarget
impl Send for WorkspaceTarget
impl Sync for WorkspaceTarget
impl Unpin for WorkspaceTarget
impl UnsafeUnpin for WorkspaceTarget
impl UnwindSafe for WorkspaceTarget
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