pub fn hex_float<T: FixedValue>(value: T) -> HexFloat<T>Expand description
Wraps a floating-point primitive for C printf-compatible a or A
formatting.
Format the returned wrapper with Rust’s x or X trait to select the
conversion case. Primitive Rust floats have no native hexadecimal
formatter, and this adapter intentionally does not implement
fmt::Display. See the module documentation for paired Rust and C
examples of every supported type, precision, and flag.