Skip to main content

pick_adapter

Function pick_adapter 

Source
pub fn pick_adapter(names: &[String], wanted: &str) -> Option<usize>
Expand description

The index of the adapter called wanted in names (the first with that name), or None when there is none, so the default choice is used.