pub struct BinaryPackageDependenciesResolution<'file, 'data: 'file> {
pub parts: Vec<BinaryPackageAlternativesResolution<'file, 'data>>,
}Expand description
A collection of BinaryPackageAlternativesResolution satisfying a list of independent constraints.
Fields
parts: Vec<BinaryPackageAlternativesResolution<'file, 'data>>Implementations
Iterate over all packages referenced by this instance.
This returns all packages satisfying all alternatives in the list of expressions.
There may be duplicates in the output stream.
pub fn packages_with_expression(
&self
) -> impl Iterator<Item = (&SingleDependency, &'file BinaryPackageControlFile<'data>)> + '_
pub fn packages_with_expression(
&self
) -> impl Iterator<Item = (&SingleDependency, &'file BinaryPackageControlFile<'data>)> + '_
Iterate over packages while also emitting the expression being satisfied.
pub fn empty_requirements(
&self
) -> impl Iterator<Item = &BinaryPackageAlternativesResolution<'file, 'data>>
pub fn empty_requirements(
&self
) -> impl Iterator<Item = &BinaryPackageAlternativesResolution<'file, 'data>>
Iterate over dependency alternates that have no satisfying packages.
Whether there are unsatisfied dependency constraints in this result.
Returns true if any of the dependency requirements sets are empty.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl<'file, 'data> RefUnwindSafe for BinaryPackageDependenciesResolution<'file, 'data>
impl<'file, 'data> Send for BinaryPackageDependenciesResolution<'file, 'data>
impl<'file, 'data> Sync for BinaryPackageDependenciesResolution<'file, 'data>
impl<'file, 'data> Unpin for BinaryPackageDependenciesResolution<'file, 'data> where
'data: 'file,
impl<'file, 'data> UnwindSafe for BinaryPackageDependenciesResolution<'file, 'data>
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more