pub(crate) fn edge_get_color_(&self, edge_id: Option<EdgeIndex>) -> Option<ColorType> {
        let _ = edge_id?;
        if let Some(edgecell) = self._edge_get(edge_id) {
            let edge = edgecell.get();
            return Some(edge.get_color());
        }
        None
    }
/// Returns the color field of the edge.
Returns the color field of the edge.
Returns the color field of the edge .
pub(crate) fn edge_get_color_(&self, edge_id: Option<EdgeIndex>) -> Option<ColorType> {
        let _ = edge_id?;
        if let Some(edgecell) = self._edge_get(edge_id) {
            let edge = edgecell.get();
            return Some(edge.get_color());
        }
        None
    }
pub ( crate ) fn edge_get_color_ ( & self , edge_id : Option < EdgeIndex > ) -> Option < ColorType > { let _ = edge_id ? ; if let Some ( edgecell ) = self . _edge_get ( edge_id ) { let edge = edgecell . get ( ) ; return Some ( edge . get_color ( ) ) ; } None }
Returns the color field of the edge.
Returns the color field of the edge .
&self
edge_id
Option<EdgeIndex>