[][src]Struct bigraph::traversal::PreOrderTraversal

pub struct PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue> where
    Graph: GraphBase,
    Queue: BidirectedQueue<<Graph as GraphBase>::NodeIndex>, 
{ /* fields omitted */ }

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]

pub fn new(
    graph: &Graph,
    start: <Graph as GraphBase>::NodeIndex
) -> PreOrderTraversal<Graph, NeighborStrategy, QueueStrategy, Queue>
[src]

pub fn next(
    &mut self,
    graph: &'a Graph
) -> Option<<Graph as GraphBase>::NodeIndex>
[src]

pub fn rank_of(
    &self,
    node: <Graph as GraphBase>::NodeIndex
) -> Option<<Graph as GraphBase>::NodeIndex>
[src]

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

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

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

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

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

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.