Pushes a `Token` onto the back of this `Pointer`.
(&mut self, token: impl Into<Token<'t>>)
| 954 | |
| 955 | /// Pushes a `Token` onto the back of this `Pointer`. |
| 956 | pub fn push_back<'t>(&mut self, token: impl Into<Token<'t>>) { |
| 957 | self.0.push('/'); |
| 958 | self.0.push_str(token.into().encoded()); |
| 959 | } |
| 960 | |
| 961 | /// Removes and returns the last `Token` in the `Pointer` if it exists. |
| 962 | pub fn pop_back(&mut self) -> Option<Token<'static>> { |