class_docstr: A printer to convert SymPy expressions to strings of Rust code
class_docstr_tok: ["A","printer","to","convert","SymPy","expressions","to","strings","of","Rust","code"]
code: def _traverse_matrix_indices(self, mat):
      rows, cols = mat.shape
      return ((i, j) for i in range(rows) for j in range(cols))
  
imports: from __future__ import annotations
  from typing import Any
  from sympy.core import S, Rational, Float, Lambda
  from sympy.core.numbers import equal_valued
  from sympy.printing.codeprinter import CodePrinter
label_desc: Use image node_id 7 for calling the RustCodePrinter obj's underlying member method code with example usage: obj._traverse_matrix_indices(mat) and returns: unknown