pub trait StaticFormat {
const FORMAT: BigFormat;
}Expand description
Trait for types that encode a complete BigFormat at the type level.
Implemented by Format and DecimalFormat to allow generic code to
be parameterized by the floating-point format without runtime overhead.
Required Associated Constants§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".