pub trait FDisplay {
// Required method
fn fmt<W: WriteBuffer>(
&self,
w: &mut W,
spec: &FormatSpec,
) -> AzUtilResult<()>;
}Expand description
Custom formatter replacement for the core::fmt::Display trait
Required Methods§
Sourcefn fmt<W: WriteBuffer>(&self, w: &mut W, spec: &FormatSpec) -> AzUtilResult<()>
fn fmt<W: WriteBuffer>(&self, w: &mut W, spec: &FormatSpec) -> AzUtilResult<()>
The caller must implement this function to use the [crate::format_str_inner!] macro
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.