Struct cargo::ops::WorkspaceResolve
source · pub struct WorkspaceResolve<'gctx> {
pub pkg_set: PackageSet<'gctx>,
pub workspace_resolve: Option<Resolve>,
pub targeted_resolve: Resolve,
pub resolved_features: ResolvedFeatures,
}
Expand description
Result for resolve_ws_with_opts
.
Fields§
§pkg_set: PackageSet<'gctx>
Packages to be downloaded.
workspace_resolve: Option<Resolve>
The resolve for the entire workspace.
This may be None
for things like cargo install
and -Zavoid-dev-deps
.
This does not include paths
overrides.
targeted_resolve: Resolve
The narrowed resolve, with the specific features enabled, and only the given package specs requested.
resolved_features: ResolvedFeatures
The features activated per package.
Auto Trait Implementations§
impl<'gctx> !Freeze for WorkspaceResolve<'gctx>
impl<'gctx> !RefUnwindSafe for WorkspaceResolve<'gctx>
impl<'gctx> !Send for WorkspaceResolve<'gctx>
impl<'gctx> !Sync for WorkspaceResolve<'gctx>
impl<'gctx> Unpin for WorkspaceResolve<'gctx>
impl<'gctx> !UnwindSafe for WorkspaceResolve<'gctx>
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