lexical_sort

Module iter

Source
Expand description

Iterators to transliterate Unicode to ASCII. Note that only alphanumeric characters are transliterated, and not all of them are supported.

Characters can be transliterated to multiple ASCII characters. For example, æ is converted to ae, and ½ is converted to 1/2.

The iterators don’t allocate memory on the heap. I haven’t benchmarked it, but I believe that it’s quite efficient.

Structs§

  • An iterator over one char, converted to lowercase and transliterated to ASCII, if it is an alphanumeric character

Functions§

  • Returns an iterator over the characters of a string, converted to lowercase and transliterated to ASCII, if they’re alphanumeric
  • Returns an iterator over one char, converted to lowercase and transliterated to ASCII, if it is alphanumeric
  • Returns an iterator over one char, converted to lowercase and transliterated to ASCII, if it is alphanumeric
  • Returns an iterator over the characters of a string, converted to lowercase and transliterated to ASCII. Non-alphanumeric characters are skipped