pub struct DependencyProjection<C, R> {
pub edges: Vec<ProjectedDependency<C>>,
pub steps: Vec<DependencyStep<C, R>>,
}Expand description
A shared forest of nonempty boundary paths returned by DependencyGraph::project.
Every edge indexes its terminal step; following predecessors reaches a root. Predecessors always have smaller indices, so traversal and destruction need no recursive calls. Paths distinguish ordinary-only and guard-bearing reachability.
§Examples
Fields§
§edges: Vec<ProjectedDependency<C>>Boundary reachability in supplied boundary order, ordinary before guarded.
steps: Vec<DependencyStep<C, R>>Shared path prefixes owned by this projection.
Trait Implementations§
Auto Trait Implementations§
impl<C, R> Freeze for DependencyProjection<C, R>
impl<C, R> RefUnwindSafe for DependencyProjection<C, R>where
C: RefUnwindSafe,
R: RefUnwindSafe,
impl<C, R> Send for DependencyProjection<C, R>
impl<C, R> Sync for DependencyProjection<C, R>
impl<C, R> Unpin for DependencyProjection<C, R>
impl<C, R> UnsafeUnpin for DependencyProjection<C, R>
impl<C, R> UnwindSafe for DependencyProjection<C, R>where
C: UnwindSafe,
R: UnwindSafe,
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