Function write_debug_as_map

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

Write an Iterator of Debuggable as a map.

Supports DebugFormat::Reduced and DebugFormat::Compact.