pub fn format_distance_string(
target: &Option<f64>,
lower: &Option<f64>,
upper: &Option<f64>,
) -> String
Expand description
Formats a distance string based on target, lower, and upper bounds.
This function creates a formatted string representing distance constraints. If any of the input values are None, default values are used.
§Arguments
target
- An Optionrepresenting the target distance. lower
- An Optionrepresenting the lower bound of the distance. upper
- An Optionrepresenting the upper bound of the distance.
§Returns
A String containing the formatted distance values, with one decimal place precision.