pub struct CargoTreeSpec<'a> {
pub manifest_path: &'a Path,
pub packages: &'a [&'a str],
pub target: &'a str,
pub edges: &'a str,
pub format: &'a str,
pub locked: bool,
pub offline: bool,
pub features: &'a CargoFeatureSelection,
}Expand description
One package-selected Cargo tree, returned without imposing role graph policy.
Fields§
§manifest_path: &'a PathExact manifest selecting the workspace/graph.
packages: &'a [&'a str]Cargo package ID specifications; Cargo diagnoses missing or ambiguous selectors.
target: &'a strTarget whose dependencies Cargo resolves.
edges: &'a strCargo edge selection, for example normal or normal,build.
format: &'a strCaller-selected Cargo tree format, retaining aliases/features when requested.
locked: boolRequire an unchanged existing lockfile.
offline: boolProhibit Cargo network access.
features: &'a CargoFeatureSelectionFeatures selected by the consuming recipe.
Auto Trait Implementations§
impl<'a> Freeze for CargoTreeSpec<'a>
impl<'a> RefUnwindSafe for CargoTreeSpec<'a>
impl<'a> Send for CargoTreeSpec<'a>
impl<'a> Sync for CargoTreeSpec<'a>
impl<'a> Unpin for CargoTreeSpec<'a>
impl<'a> UnsafeUnpin for CargoTreeSpec<'a>
impl<'a> UnwindSafe for CargoTreeSpec<'a>
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