foundry_common_fmt::console

Trait ConsoleFmt

Source
pub trait ConsoleFmt {
    // Required method
    fn fmt(&self, spec: FormatSpec) -> String;
}
Expand description

Formats a value using a FormatSpec.

Required Methods§

Source

fn fmt(&self, spec: FormatSpec) -> String

Formats a value using a FormatSpec.

Implementations on Foreign Types§

Source§

impl ConsoleFmt for bool

Source§

fn fmt(&self, spec: FormatSpec) -> String

Source§

impl ConsoleFmt for String

Source§

fn fmt(&self, spec: FormatSpec) -> String

Source§

impl ConsoleFmt for Vec<u8>

Source§

fn fmt(&self, spec: FormatSpec) -> String

Source§

impl ConsoleFmt for Address

Source§

fn fmt(&self, spec: FormatSpec) -> String

Source§

impl ConsoleFmt for Bytes

Source§

fn fmt(&self, spec: FormatSpec) -> String

Source§

impl ConsoleFmt for I256

Source§

fn fmt(&self, spec: FormatSpec) -> String

Source§

impl ConsoleFmt for U256

Source§

fn fmt(&self, spec: FormatSpec) -> String

Source§

impl ConsoleFmt for [u8]

Source§

fn fmt(&self, spec: FormatSpec) -> String

Source§

impl<const N: usize> ConsoleFmt for FixedBytes<N>

Source§

fn fmt(&self, spec: FormatSpec) -> String

Source§

impl<const N: usize> ConsoleFmt for [u8; N]

Source§

fn fmt(&self, spec: FormatSpec) -> String

Implementors§