Function write_debug_as_list

Source
pub fn write_debug_as_list<'own, ItemT, IteratorT, WriteT>(
    iterator: IteratorT,
    override_format: Option<DebugFormat>,
    writer: &mut WriteT,
    context: &DebugContext<'_>,
) -> Result<()>
where ItemT: Debuggable + 'own, IteratorT: Iterator<Item = &'own ItemT>, WriteT: Write,
Expand description

Write an Iterator of Debuggable as a list.

Supports DebugFormat::Compact.