Struct core::fmt::DebugMapUnstable [-] [+] [src]

#[must_use]
pub struct DebugMap<'a, 'b> {
    // some fields omitted
}

A struct to help with fmt::Debug implementations.

Constructed by the Formatter::debug_map method.

Methods

impl<'a, 'b> DebugMap<'a, 'b>

fn entry(self, key: &Debug, value: &Debug) -> DebugMap<'a, 'b>

Adds a new entry to the map output.

fn finish(self) -> Result

Consumes the DebugMap, finishing output and returning any error encountered.