Skip to main content

drive_neighbours

Function drive_neighbours 

Source
pub fn drive_neighbours(article: &str, supply: &str) -> Vec<&'static str>
Expand description

The paired drive (paired_drive) and the next size down and up by rated output current among the supply’s drives (drives_for): the largest with a lower rated current and the smallest with a higher one (of two alike, the higher maximum current). Smallest first; the paired one alone where it is not in the list, none where there is none.