Get a reference to the inner Insertion, if this is one.
(&self)
| 96 | |
| 97 | /// Get a reference to the inner Insertion, if this is one. |
| 98 | pub fn as_new_vertex(&self) -> Option<&Insertion<H>> { |
| 99 | match self { |
| 100 | Atom::Insertion(v) => Some(v), |
| 101 | _ => None, |
| 102 | } |
| 103 | } |
| 104 | |
| 105 | /// Get a mutable reference to the inner Insertion, if this is one. |
| 106 | pub fn as_new_vertex_mut(&mut self) -> Option<&mut Insertion<H>> { |
nothing calls this directly
no outgoing calls
no test coverage detected