Struct core::fmt::DebugMap [] [src]

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

A struct to help with fmt::Debug`fmt::Debug` implementations.

Constructed by the Formatter::debug_map`Formatter::debug_map` method.

Methods

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

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

Unstable

: method was just created

Adds a new entry to the map output.

fn finish(self) -> Result

Unstable

: method was just created

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