Skip to main content

closest

Function closest 

Source
pub fn closest<'f>(
    features: &'f [FeatureRef],
    name: &str,
) -> Option<&'f FeatureRef>
Expand description

The feature whose name is nearest to name (edit distance over the part after the numeric prefix), if any is reasonably near.