Push an element onto the path.
(&mut self, element: PathElement)
| 198 | |
| 199 | /// Push an element onto the path. |
| 200 | pub fn push(&mut self, element: PathElement) { |
| 201 | self.elements.push(element); |
| 202 | } |
| 203 | |
| 204 | /// Check if the path is empty. |
| 205 | pub fn is_empty(&self) -> bool { |
no outgoing calls