pub struct PackageImporters {
pub importers: Vec<FileId>,
pub out_of_diff: Vec<FileId>,
}Expand description
In-repo importer counts for one third-party package.
Fields§
§importers: Vec<FileId>Modules that import the package (value imports only), id-sorted. Kept as ids rather than a count so a decision that batches several packages can take the union instead of double-counting a module that imports more than one of them.
out_of_diff: Vec<FileId>The subset of importers outside the changed set, id-sorted.
Trait Implementations§
Source§impl Clone for PackageImporters
impl Clone for PackageImporters
Source§impl Debug for PackageImporters
impl Debug for PackageImporters
Source§impl Default for PackageImporters
impl Default for PackageImporters
impl Eq for PackageImporters
Source§impl PartialEq for PackageImporters
impl PartialEq for PackageImporters
impl StructuralPartialEq for PackageImporters
Auto Trait Implementations§
impl Freeze for PackageImporters
impl RefUnwindSafe for PackageImporters
impl Send for PackageImporters
impl Sync for PackageImporters
impl Unpin for PackageImporters
impl UnsafeUnpin for PackageImporters
impl UnwindSafe for PackageImporters
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
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> ⓘ
Converts
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> ⓘ
Converts
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