Function bdrck_params::option::find_option [] [src]

pub fn find_option<'a, I>(options: I, name: &str) -> Optional<&'a Option> where I: Iterator<Item=&'a Option>

Given an iterator over a collection of Options, locate the option with the given name (which can be either a short name or a long name). If no such Option is found, return None instead.