Add an element to the path
(&mut self, element: PathElement)
| 121 | |
| 122 | /// Add an element to the path |
| 123 | pub fn add_element(&mut self, element: PathElement) { |
| 124 | self.elements.push(element); |
| 125 | } |
| 126 | |
| 127 | /// Get the length of the path (number of edges) |
| 128 | pub fn length(&self) -> usize { |
nothing calls this directly
no outgoing calls
no test coverage detected