Trait UIfmt
Source 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();
Return a prettified string version of the value
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".
Source§Available on crate feature base only.
Source§Available on crate feature base only.
Source§Available on crate feature base only.
Source§Available on crate feature optimism only.
Source§Available on crate feature base only.
Source§Available on crate feature optimism only.
Source§Available on crate feature base only.
Source§Available on crate feature optimism only.
Source§Available on crate feature optimism only.