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

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

A struct to help with fmt::Debug implementations.

Constructed by the Formatter::debug_tuple method.

Methods

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

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.