[−][src]Struct bigraph::traversal::PreOrderTraversal
Implementations
impl<'a, Graph, NeighborStrategy, QueueStrategy, Queue> PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue> where
Graph: StaticGraph,
NeighborStrategy: TraversalNeighborStrategy<'a, Graph>,
Queue: BidirectedQueue<<Graph as GraphBase>::NodeIndex>,
QueueStrategy: TraversalQueueStrategy<Graph, Queue>,
[src]
Graph: StaticGraph,
NeighborStrategy: TraversalNeighborStrategy<'a, Graph>,
Queue: BidirectedQueue<<Graph as GraphBase>::NodeIndex>,
QueueStrategy: TraversalQueueStrategy<Graph, Queue>,
pub fn new(
graph: &Graph,
start: <Graph as GraphBase>::NodeIndex
) -> PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue>
[src]
graph: &Graph,
start: <Graph as GraphBase>::NodeIndex
) -> PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue>
pub fn next(
&mut self,
graph: &'a Graph
) -> Option<<Graph as GraphBase>::NodeIndex>
[src]
&mut self,
graph: &'a Graph
) -> Option<<Graph as GraphBase>::NodeIndex>
pub fn rank_of(
&self,
node: <Graph as GraphBase>::NodeIndex
) -> Option<<Graph as GraphBase>::NodeIndex>
[src]
&self,
node: <Graph as GraphBase>::NodeIndex
) -> Option<<Graph as GraphBase>::NodeIndex>
Auto Trait Implementations
impl<Graph, NeighborStrategy, QueueStrategy, Queue> RefUnwindSafe for PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue> where
Graph: RefUnwindSafe,
NeighborStrategy: RefUnwindSafe,
Queue: RefUnwindSafe,
QueueStrategy: RefUnwindSafe,
<Graph as GraphBase>::NodeIndex: RefUnwindSafe,
<Graph as GraphBase>::OptionalNodeIndex: RefUnwindSafe,
Graph: RefUnwindSafe,
NeighborStrategy: RefUnwindSafe,
Queue: RefUnwindSafe,
QueueStrategy: RefUnwindSafe,
<Graph as GraphBase>::NodeIndex: RefUnwindSafe,
<Graph as GraphBase>::OptionalNodeIndex: RefUnwindSafe,
impl<Graph, NeighborStrategy, QueueStrategy, Queue> Send for PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue> where
Graph: Send,
NeighborStrategy: Send,
Queue: Send,
QueueStrategy: Send,
<Graph as GraphBase>::NodeIndex: Send,
<Graph as GraphBase>::OptionalNodeIndex: Send,
Graph: Send,
NeighborStrategy: Send,
Queue: Send,
QueueStrategy: Send,
<Graph as GraphBase>::NodeIndex: Send,
<Graph as GraphBase>::OptionalNodeIndex: Send,
impl<Graph, NeighborStrategy, QueueStrategy, Queue> Sync for PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue> where
Graph: Sync,
NeighborStrategy: Sync,
Queue: Sync,
QueueStrategy: Sync,
<Graph as GraphBase>::NodeIndex: Sync,
<Graph as GraphBase>::OptionalNodeIndex: Sync,
Graph: Sync,
NeighborStrategy: Sync,
Queue: Sync,
QueueStrategy: Sync,
<Graph as GraphBase>::NodeIndex: Sync,
<Graph as GraphBase>::OptionalNodeIndex: Sync,
impl<Graph, NeighborStrategy, QueueStrategy, Queue> Unpin for PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue> where
Graph: Unpin,
NeighborStrategy: Unpin,
Queue: Unpin,
QueueStrategy: Unpin,
<Graph as GraphBase>::NodeIndex: Unpin,
<Graph as GraphBase>::OptionalNodeIndex: Unpin,
Graph: Unpin,
NeighborStrategy: Unpin,
Queue: Unpin,
QueueStrategy: Unpin,
<Graph as GraphBase>::NodeIndex: Unpin,
<Graph as GraphBase>::OptionalNodeIndex: Unpin,
impl<Graph, NeighborStrategy, QueueStrategy, Queue> UnwindSafe for PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue> where
Graph: UnwindSafe,
NeighborStrategy: UnwindSafe,
Queue: UnwindSafe,
QueueStrategy: UnwindSafe,
<Graph as GraphBase>::NodeIndex: UnwindSafe,
<Graph as GraphBase>::OptionalNodeIndex: UnwindSafe,
Graph: UnwindSafe,
NeighborStrategy: UnwindSafe,
Queue: UnwindSafe,
QueueStrategy: UnwindSafe,
<Graph as GraphBase>::NodeIndex: UnwindSafe,
<Graph as GraphBase>::OptionalNodeIndex: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,