Skip to main content

search_choices

Function search_choices 

Source
pub(crate) fn search_choices(
    args: &Args,
    prices: bool,
) -> Result<(Drives, Vec<(Criterion, f64)>), Failure>
Expand description

--drives paired|neighbours|all and --rank-by CRITERIA of search and compare-kinematics. With a price list (--prices of search) the default ranking is by price; price without one is refused.