1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20
/// # Arguments /// /// * `index`: /// /// returns: Option<Cow<Self::Node>> /// /// # Examples /// /// ``` /// use graph_theory::GraphEngine; /// ``` #[derive(Clone, Copy, Debug, PartialEq, Eq)] pub enum EdgeInsertID { /// No need to insert anything Nothing, /// Inserted one node, return the node id OneEdge(usize), /// Inserted two nodes, return these node ids TwoEdges(usize, usize), }