Struct debug_builders::DebugStruct [] [src]

#[must_use]
pub struct DebugStruct<'a, 'b: 'a> { /* fields omitted */ }

A struct to help with fmt::Debug implementations.

Constructed by the Formatter::debug_struct method.

Methods

impl<'a, 'b: 'a> DebugStruct<'a, 'b>
[src]

Creates a new DebugStruct.

Adds a new field to the generated struct output.

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