pub fn try_as_ident_mut(&mut self) -> Option<&mut ast::Ident> {
        if let PathSegment::Ident(ident) = self {
            Some(ident)
        } else {
            None
        }
    }
/// Borrow as a mutable identifier.
///
/// This is only allowed if the PathSegment is `Ident(_)`
/// and not `Crate` or `Super`.
Borrow as a mutable identifier.
Borrow as a mutable identifier .
pub fn try_as_ident_mut(&mut self) -> Option<&mut ast::Ident> {
        if let PathSegment::Ident(ident) = self {
            Some(ident)
        } else {
            None
        }
    }
pub fn try_as_ident_mut ( & mut self ) -> Option < & mut ast :: Ident > { if let PathSegment :: Ident ( ident ) = self { Some ( ident ) } else { None } }
Borrow as a mutable identifier.
Borrow as a mutable identifier .
&mut self
&mut self