pub struct DependencyStep<C, R> {
pub cell: C,
pub previous: Option<(usize, DependencyHop<R>)>,
}Expand description
One cell and its optional incoming edge in a projection’s shared path forest.
§Examples
Fields§
§cell: CThe cell reached by this step.
previous: Option<(usize, DependencyHop<R>)>The preceding step index and incoming hop, or None at a path root.
Trait Implementations§
Auto Trait Implementations§
impl<C, R> Freeze for DependencyStep<C, R>
impl<C, R> RefUnwindSafe for DependencyStep<C, R>where
C: RefUnwindSafe,
R: RefUnwindSafe,
impl<C, R> Send for DependencyStep<C, R>
impl<C, R> Sync for DependencyStep<C, R>
impl<C, R> Unpin for DependencyStep<C, R>
impl<C, R> UnsafeUnpin for DependencyStep<C, R>where
C: UnsafeUnpin,
R: UnsafeUnpin,
impl<C, R> UnwindSafe for DependencyStep<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