[−][src]Trait galm::search::Iterator
Extend Iterator for search similar word.
Associated Types
type Item
Required methods
fn get_similar_word(self, input_param: &'b str) -> &'a str
Implementations on Foreign Types
impl<'a, 'b, '_> Iterator<'a, 'b> for Iter<'a, &'_ str>
[src]
Extend Iterator for search similar word.
type Item = &'a str
fn get_similar_word(self, input_param: &'b str) -> &'a str
[src]
Get similar word.
use galm::search::Iterator; let result = [ "-h", "--help", "-v", "--version" ].iter().get_similar_word("nelp"); assert_eq!(result, "--help");