Get the number of elements in the path.
(&self)
| 208 | |
| 209 | /// Get the number of elements in the path. |
| 210 | pub fn len(&self) -> usize { |
| 211 | self.elements.len() |
| 212 | } |
| 213 | |
| 214 | /// Iterate over elements. |
| 215 | pub fn iter(&self) -> impl Iterator<Item = &PathElement> { |
no outgoing calls