Searched refs:in_range (Results 1 – 2 of 2) sorted by relevance
52 if in_range(feature.location.as_ref().unwrap(), request.get_ref()) { in list_features()153 fn in_range(point: &Point, rect: &Rectangle) -> bool { in in_range() function
359 Lastly, we need implement two helper functions: `in_range` and `calc_distance`. We'll use them409 if in_range(feature.location.as_ref().unwrap(), request.get_ref()) {