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();Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".