pub fn swift_encode_fn(scalar: ScalarType) -> &'static str
Get the Swift encode function name for a scalar type.