pub struct TransitiveContext<'a> {
pub base: ResolutionContext<'a>,
pub dependency_map: &'a mut HashMap<DependencyKey, Vec<String>>,
pub transitive_custom_names: &'a mut HashMap<DependencyKey, String>,
pub conflict_detector: &'a mut ConflictDetector,
pub manifest_overrides: &'a ManifestOverrideIndex,
}Expand description
Context for transitive dependency resolution.
Extends the base resolution context with mutable state needed for transitive dependency traversal and conflict detection.
Fields§
§base: ResolutionContext<'a>Base immutable context
dependency_map: &'a mut HashMap<DependencyKey, Vec<String>>Map tracking which dependencies are required by which resources
transitive_custom_names: &'a mut HashMap<DependencyKey, String>Map tracking custom names for transitive dependencies (for template variables)
conflict_detector: &'a mut ConflictDetectorConflict detector for version resolution
manifest_overrides: &'a ManifestOverrideIndexIndex of manifest overrides for deduplication with transitive deps
Auto Trait Implementations§
impl<'a> Freeze for TransitiveContext<'a>
impl<'a> !RefUnwindSafe for TransitiveContext<'a>
impl<'a> Send for TransitiveContext<'a>
impl<'a> Sync for TransitiveContext<'a>
impl<'a> Unpin for TransitiveContext<'a>
impl<'a> !UnwindSafe for TransitiveContext<'a>
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