Trait VertexView

Source
pub trait VertexView<M, T>: GraphBase
where M: ?Sized,
{ // Required method fn vview(&self, map: &M, vid: Self::VIndex) -> T; }

Required Methods§

Source

fn vview(&self, map: &M, vid: Self::VIndex) -> T

Implementors§

Source§

impl<A, T> VertexView<Vec<Vec<T>>, T> for GridGraph<A>
where T: Clone,

Source§

impl<D, T> VertexView<[T], T> for SparseGraph<D>
where T: Clone,

Source§

impl<D, T> VertexView<Vec<T>, T> for SparseGraph<D>
where T: Clone,

Source§

impl<Fa, T> VertexView<[T], T> for UsizeGraph<Fa>
where T: Clone,

Source§

impl<Fa, T> VertexView<Vec<T>, T> for UsizeGraph<Fa>
where T: Clone,

Source§

impl<G, F, T> VertexView<F, T> for G
where G: GraphBase, F: Fn(Self::VIndex) -> T,

Source§

impl<V, Fv, Fa, T> VertexView<(HashMap<V, T>, T), T> for ClosureGraph<V, Fv, Fa>
where V: Eq + Copy + Hash, T: Clone,