Struct determinator::DeterminatorSet
source · pub struct DeterminatorSet<'g> {
pub affected_set: PackageSet<'g>,
pub path_changed_set: PackageSet<'g>,
pub summary_changed_set: PackageSet<'g>,
}
Expand description
The result of a Determinator
computation.
The lifetime 'g
is tied to the new PackageGraph
passed to a Determinator
.
Fields§
§affected_set: PackageSet<'g>
The packages that were affected, directly or indirectly. This set is what most consumers care about.
A package is in this set if it was marked changed due to a path or summaries changing, or if a simulated Cargo build or package rule indicated that it is affected.
path_changed_set: PackageSet<'g>
The packages that were marked changed because a file changed.
Either a file inside this package changed or a path rule was matched.
summary_changed_set: PackageSet<'g>
The packages that were marked changed becuase a simulated Cargo build’s summary showed changes in dependencies.
This does not include packages marked changed through a path. For example, if a path rule caused all packages to be marked changed, further steps aren’t run and this set is empty.
Trait Implementations§
source§impl<'g> Clone for DeterminatorSet<'g>
impl<'g> Clone for DeterminatorSet<'g>
source§fn clone(&self) -> DeterminatorSet<'g>
fn clone(&self) -> DeterminatorSet<'g>
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more