pub trait NumberFormat: Display {
// Required method
fn number_format(num: Self, precision: Option<u32>) -> String;
}Required Methods§
fn number_format(num: Self, precision: Option<u32>) -> String
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.