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 moreAuto Trait Implementations§
impl<'g> Freeze for DeterminatorSet<'g>
impl<'g> RefUnwindSafe for DeterminatorSet<'g>
impl<'g> Send for DeterminatorSet<'g>
impl<'g> Sync for DeterminatorSet<'g>
impl<'g> Unpin for DeterminatorSet<'g>
impl<'g> UnwindSafe for DeterminatorSet<'g>
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more