pub trait Number:
Add<Output = Self>
+ Sub<Output = Self>
+ Copy
+ Clone
+ PartialOrd
+ PartialEq
+ Display
+ FromStr {
// Required method
fn write_to_string(&self, writer: &mut String, format: Format);
}Required Methods§
fn write_to_string(&self, writer: &mut String, format: Format)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".