Struct fera_graph::traverse::DfsAlg
source · pub struct DfsAlg<A, B, C, D, E>(pub A, pub B, pub C, pub D, pub E);
Tuple Fields
0: A
1: B
2: C
3: D
4: E
Implementations
sourceimpl<A, B, C, D, E> DfsAlg<A, B, C, D, E>
impl<A, B, C, D, E> DfsAlg<A, B, C, D, E>
pub fn graph<N>(self, zero: N) -> DfsAlg<N, B, C, D, E>
pub fn visitor<N>(self, one: N) -> DfsAlg<A, N, C, D, E>
pub fn roots<N>(self, two: N) -> DfsAlg<A, B, N, D, E>
pub fn color<N>(self, three: N) -> DfsAlg<A, B, C, N, E>
pub fn stack<N>(self, four: N) -> DfsAlg<A, B, C, D, N>
sourceimpl<'a, G, V, R, C, S> DfsAlg<&'a G, V, R, C, S>
impl<'a, G, V, R, C, S> DfsAlg<&'a G, V, R, C, S>
pub fn run(self) -> Controlwhere
G: Incidence,
V: Visitor<G>,
R: IntoIterator<Item = Vertex<G>>,
C: ParamDerefMut,
C::Target: VertexPropMut<G, Color>,
S: ParamDerefMut<Target = DfsStack<'a, G>>,
pub fn root(self, root: Vertex<G>) -> DfsAlg<&'a G, V, Once<Vertex<G>>, C, S>where
G: WithVertex,
pub fn ignore_color_changes(
self
) -> DfsAlg<&'a G, V, R, Owned<IgnoreWriteProp<Color>>, S>where
G: WithVertex,
Auto Trait Implementations
impl<A, B, C, D, E> RefUnwindSafe for DfsAlg<A, B, C, D, E>where
A: RefUnwindSafe,
B: RefUnwindSafe,
C: RefUnwindSafe,
D: RefUnwindSafe,
E: RefUnwindSafe,
impl<A, B, C, D, E> Send for DfsAlg<A, B, C, D, E>where
A: Send,
B: Send,
C: Send,
D: Send,
E: Send,
impl<A, B, C, D, E> Sync for DfsAlg<A, B, C, D, E>where
A: Sync,
B: Sync,
C: Sync,
D: Sync,
E: Sync,
impl<A, B, C, D, E> Unpin for DfsAlg<A, B, C, D, E>where
A: Unpin,
B: Unpin,
C: Unpin,
D: Unpin,
E: Unpin,
impl<A, B, C, D, E> UnwindSafe for DfsAlg<A, B, C, D, E>where
A: UnwindSafe,
B: UnwindSafe,
C: UnwindSafe,
D: UnwindSafe,
E: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more