pub fn serialize_opt_angle<S, T>(
value: &Option<T>,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>Expand description
Like serialize_angle, but serializes an [&Option<T>]
instead of a &T implementing Into<DynQuantity>.
For examples see the serialize_with_units documentation.