Trait std::fmt::Default

pub trait Default {
    fn fmt(&Self, &mut Formatter);
}

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)

Implementors