pub trait ConsoleFmt {
// Required method
fn fmt(&self, spec: FormatSpec) -> String;
}
Expand description
Formats a value using a FormatSpec.
Required Methods§
Sourcefn fmt(&self, spec: FormatSpec) -> String
fn fmt(&self, spec: FormatSpec) -> String
Formats a value using a FormatSpec.