Trait std::fmt::StringDeprecated [-] [+] [src]

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

When a value can be semantically expressed as a String, this trait may be used. It corresponds to the default format, {}.

Required Methods

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

Formats the value using the given formatter.

Implementors