Serde adapters for fixed-point wire formats.
The direct Q serde implementation is transparent and uses the raw representation. Use as_f32 or as_f64 when the wire format should carry the scaled value through serde’s floating-point data model instead.
Q
as_f32
as_f64
f32
f64