code: def make_meth_link(self, parts, title):
      meth_name = parts[-1]
      if meth_name.endswith("()"):
          meth_name = meth_name[:-2]
  
      link, title = self.make_struct_link(parts[:-1], title)
      link += f"#method.{meth_name}"
  
      if not title.endswith(")"):
          title += "()"
  
      return link, title
  
file_path: hf-tokenizers/docs/source/_ext/rust_doc.py
imports: from docutils import nodes
  import sphinx
  from sphinx.locale import _
  from conf import rust_version
label_desc: Use image node_id 5 for calling the RustRef obj's underlying member method code with example usage: obj.make_meth_link(parts, title) and returns: link,  title