code: def export_to_rust(model, indent=4, function_name="score"):
      """
      Generates a Rust code representation of the given model.
  
      Parameters
      ----------
      model : object
          The model object that should be transpiled into code.
      indent : int, optional
          The size of indents in the generated code.
      function_name : string, optional
          Name of the function in the generated code.
  
      Returns
      -------
      code : string
      """
      interpreter = interpreters.RustInterpreter(
          indent=indent,
          function_name=function_name,
      )
      return _export(model, interpreter)
  
file_path: m2cgen/m2cgen/exporters.py
imports: from m2cgen import interpreters
  from m2cgen.assemblers import get_assembler_cls
label_desc: Use image node_id 15 for calling a global function with example usage: export_to_rust(model, indent, function_name) and returns: _export