[src]

Trait std::fmt::Show

pub trait Show {
    fn fmt(&self, &mut Formatter) -> Result;
}

When a format is not otherwise specified, types are formatted by ascribing to this trait. There is not an explicit way of selecting this trait to be used for formatting, it is only if no other format is specified.

Required Methods

fn fmt(&self, &mut Formatter) -> Result

Formats the value using the given formatter.

Implementors