Struct debian_packaging::dependency_resolution::BinaryPackageTransitiveDependenciesResolution
source · pub struct BinaryPackageTransitiveDependenciesResolution<'file, 'data: 'file> { /* private fields */ }Implementations§
source§impl<'file, 'data: 'file> BinaryPackageTransitiveDependenciesResolution<'file, 'data>
impl<'file, 'data: 'file> BinaryPackageTransitiveDependenciesResolution<'file, 'data>
sourcepub fn packages(
&self
) -> impl Iterator<Item = &'file BinaryPackageControlFile<'data>> + '_
pub fn packages( &self ) -> impl Iterator<Item = &'file BinaryPackageControlFile<'data>> + '_
Obtain all packages in this collection.
Packages are guaranteed to be emitted at most once. However, the uniqueness of each package is defined by the composition of the control paragraph. So packages with the same name and version may occur multiple times if their control paragraphs aren’t identical.
sourcepub fn packages_with_sources(
&self
) -> impl Iterator<Item = (&'file BinaryPackageControlFile<'data>, &Vec<BinaryPackageDependencySource<'file, 'data>>)> + '_
pub fn packages_with_sources( &self ) -> impl Iterator<Item = (&'file BinaryPackageControlFile<'data>, &Vec<BinaryPackageDependencySource<'file, 'data>>)> + '_
Obtain all packages in this collection along with annotations of its reverse dependencies.
Packages are emitted in the same order as Self::packages(). Associated with each entry is a list of direct dependency sources that caused this package to be present.
Trait Implementations§
source§impl<'file, 'data: 'file> Clone for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
impl<'file, 'data: 'file> Clone for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
source§fn clone(&self) -> BinaryPackageTransitiveDependenciesResolution<'file, 'data>
fn clone(&self) -> BinaryPackageTransitiveDependenciesResolution<'file, 'data>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl<'file, 'data: 'file> Debug for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
impl<'file, 'data: 'file> Debug for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
source§impl<'file, 'data: 'file> Default for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
impl<'file, 'data: 'file> Default for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
source§fn default() -> BinaryPackageTransitiveDependenciesResolution<'file, 'data>
fn default() -> BinaryPackageTransitiveDependenciesResolution<'file, 'data>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<'file, 'data> RefUnwindSafe for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
impl<'file, 'data> Send for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
impl<'file, 'data> Sync for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
impl<'file, 'data> Unpin for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
impl<'file, 'data> UnwindSafe for BinaryPackageTransitiveDependenciesResolution<'file, 'data>
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