pub fn next_str(&mut self) -> Option<&'a str> {
        match self.next()? {
            ComponentRef::Str(s) => Some(s),
            _ => None,
        }
    }
/// Get the next component as a string.
///
/// Will consume the next component in the iterator, but will only indicate
/// if the next component was present, and was a [Component::Str].
Get the next component as a string.
Will consume the next component in the iterator, but will only indicate
if the next component was present, and was a [Component::Str].
Get the next component as a string . Will consume the next component in the iterator but will only indicate if the next component was present and was a [ Component :: Str ] .
pub fn next_str(&mut self) -> Option<&'a str> {
        match self.next()? {
            ComponentRef::Str(s) => Some(s),
            _ => None,
        }
    }
pub fn next_str ( & mut self ) -> Option < & ' a str > { match self . next ( ) ? { ComponentRef :: Str ( s ) => Some ( s ) , _ => None , } }
Get the next component as a string.
Get the next component as a string .
&mut self
&mut self