Function hx::output_array[][src]

pub fn output_array(
    array_format: &str,
    buf: Box<dyn BufRead>,
    truncate_len: u64,
    column_width: u64
) -> Result<()>
Expand description

Output source code array format.

Arguments

  • array_format - array format, rust (r), C (c), golang (g).
  • buf - BufRead.
  • truncate_len - truncate to length.
  • column_width - column width.