Get a reference to the inner EdgeUpdate, if this is one.
(&self)
| 112 | |
| 113 | /// Get a reference to the inner EdgeUpdate, if this is one. |
| 114 | pub fn as_edge_map(&self) -> Option<&EdgeUpdate<H>> { |
| 115 | match self { |
| 116 | Atom::EdgeUpdate(e) => Some(e), |
| 117 | _ => None, |
| 118 | } |
| 119 | } |
| 120 | |
| 121 | /// Get a mutable reference to the inner EdgeUpdate, if this is one. |
| 122 | pub fn as_edge_map_mut(&mut self) -> Option<&mut EdgeUpdate<H>> { |
nothing calls this directly
no outgoing calls
no test coverage detected