Struct guppy::graph::DependsCache [−][src]
pub struct DependsCache<'g> { /* fields omitted */ }
Expand description
An optional cache used to speed up depends_on
queries.
Created with PackageGraph::new_depends_cache()
.
Implementations
Creates a new cache for depends_on
queries for this package graph.
This holds a shared reference to the package graph. This is to ensure that the cache is invalidated if the package graph is mutated.
Trait Implementations
Auto Trait Implementations
impl<'g> RefUnwindSafe for DependsCache<'g>
impl<'g> Send for DependsCache<'g>
impl<'g> Sync for DependsCache<'g>
impl<'g> Unpin for DependsCache<'g>
impl<'g> UnwindSafe for DependsCache<'g>
Blanket Implementations
Mutably borrows from an owned value. Read more