Struct debug_builders::DebugTuple [] [src]

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

A struct to help with fmt::Debug implementations.

Methods

impl<'a, 'b> DebugTuple<'a, 'b>

fn new(fmt: &'a mut Formatter<'b>, name: &str) -> DebugTuple<'a, 'b>

Creates a new DebugTuple.

fn field(self, value: &Debug) -> DebugTuple<'a, 'b>

Adds a new field to the generated tuple struct output.

fn finish(self) -> Result

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