pub fn next_edge(&self, e: EdgeIndex, dir: Direction) -> Option<EdgeIndex> {
        match self.edges.get(e.index()) {
            None => None,
            Some(node) => {
                let edix = node.next[dir as usize];
                if edix == EdgeIndex::end() {
                    None
                } else {
                    Some(edix)
                }
            }
        }
    }
/// Accessor for data structure internals: the next edge for the given direction.
Accessor for data structure internals: the next edge for the given direction.
Accessor for data structure internals : the next edge for the given direction .
pub fn next_edge(&self, e: EdgeIndex, dir: Direction) -> Option<EdgeIndex> {
        match self.edges.get(e.index()) {
            None => None,
            Some(node) => {
                let edix = node.next[dir as usize];
                if edix == EdgeIndex::end() {
                    None
                } else {
                    Some(edix)
                }
            }
        }
    }
pub fn next_edge ( & self , e : EdgeIndex , dir : Direction ) -> Option < EdgeIndex > { match self . edges . get ( e . index ( ) ) { None => None , Some ( node ) => { let edix = node . next [ dir as usize ] ; if edix == EdgeIndex :: end ( ) { None } else { Some ( edix ) } } } }
Accessor for data structure internals: the next edge for the given direction.
Accessor for data structure internals : the next edge for the given direction .
&self
e
EdgeIndex
dir
Direction