unic-char-range 0.6.0

UNIC - Unicode Characters - Character Range and Iteration
Documentation

Unic - Char - Range

A simple way to control iteration over a range of characters.

Examples

#[macro_use] extern crate unic_char_range;

# fn main() {
for character in chars!('a'..='z') {
    // character is each character in the lowercase english alphabet in order
}

for character in chars!(..) {
    // character is every valid char from lowest codepoint to highest
}
# }

Features

None of these features are included by default; they rely on unstable Rust feature gates.