Bfs

Trait Bfs 

Source
pub trait Bfs: WithEdge {
    // Provided method
    fn bfs<V>(
        &self,
        vis: V,
    ) -> BfsAlg<&Self, V, AllVertices<'_, Self>, NewVertexProp<'_, Self, Color>, Owned<BfsQueue<Self>>>
       where V: Visitor<Self> { ... }
}

Provided Methods§

Source

fn bfs<V>( &self, vis: V, ) -> BfsAlg<&Self, V, AllVertices<'_, Self>, NewVertexProp<'_, Self, Color>, Owned<BfsQueue<Self>>>
where V: Visitor<Self>,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<G: WithEdge> Bfs for G