[][src]Trait btree_graph::RemoveEdge

pub trait RemoveEdge<V, E> {
    pub fn remove_edge(&mut self, x: E) -> Option<(V, V)>;
}

RemoveEdge removes the edge from the vertex x to the vertex y, if it is there.

Required methods

pub fn remove_edge(&mut self, x: E) -> Option<(V, V)>[src]

Loading content...

Implementors

impl<V, E> RemoveEdge<V, E> for BTreeGraph<V, E> where
    V: Ord + Clone,
    E: Ord + Clone
[src]

When an edge is removed, you should find the incident vertex and ensure the edge is removed from the vertex's adjacency list.

Loading content...