pub struct PackageResult {
pub name: String,
pub version: String,
pub manifest_path: PathBuf,
pub deps: Vec<ResolvedDep>,
}Expand description
One Cargo package in the workspace (or the resolved root crate) plus its dependency tree.
Produced before suggestion analysis runs; see Phase 3 workspace design (docs/).
Fields§
§name: String§version: String§manifest_path: PathBuf§deps: Vec<ResolvedDep>Trait Implementations§
Source§impl Clone for PackageResult
impl Clone for PackageResult
Source§fn clone(&self) -> PackageResult
fn clone(&self) -> PackageResult
Returns a duplicate of the value. Read more
1.0.0 · 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 PackageResult
impl RefUnwindSafe for PackageResult
impl Send for PackageResult
impl Sync for PackageResult
impl Unpin for PackageResult
impl UnsafeUnpin for PackageResult
impl UnwindSafe for PackageResult
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