Function geom::serialize_f64
source · [−]pub(crate) fn serialize_f64<S: Serializer>(
x: &f64,
s: S
) -> Result<S::Ok, S::Error>
Expand description
Serializes a trimmed f64
as an i32
to save space.
pub(crate) fn serialize_f64<S: Serializer>(
x: &f64,
s: S
) -> Result<S::Ok, S::Error>
Serializes a trimmed f64
as an i32
to save space.