Function json_syntax::print::print_array

source ·
pub fn print_array<I: IntoIterator>(
    items: I,
    f: &mut Formatter<'_>,
    options: &Options,
    indent: usize,
    sizes: &[Size],
    index: &mut usize
) -> Resultwhere
    I::IntoIter: ExactSizeIterator,
    I::Item: PrintWithSize,
Examples found in repository?
src/print.rs (line 522)
514
515
516
517
518
519
520
521
522
523
	fn fmt_with_size(
		&self,
		f: &mut fmt::Formatter,
		options: &Options,
		indent: usize,
		sizes: &[Size],
		index: &mut usize,
	) -> fmt::Result {
		print_array(self, f, options, indent, sizes, index)
	}