pub trait UIfmt {
// Required method
fn pretty(&self) -> String;
}
Expand description
Helper trait to format Ethereum types.
§Examples
use foundry_common_fmt::UIfmt;
let boolean: bool = true;
let string = boolean.pretty();
pub trait UIfmt {
// Required method
fn pretty(&self) -> String;
}
Helper trait to format Ethereum types.
use foundry_common_fmt::UIfmt;
let boolean: bool = true;
let string = boolean.pretty();