[−][src]Crate unic_char_range
UNIC — Unicode Character Tools - Character Range
A simple way to control iteration over a range of characters.
Examples
#[macro_use] extern crate unic_char_range; 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.
unstable: enables all featuresexact-size-is-empty: provide a specific impl ofExactSizeIterator::is_emptyfused: impl theFusedIteratorcontracttrusted-len: impl theTrustedLencontract
Macros
| chars | Convenience macro for the initialization of |
Structs
| CharIter | An iterator over a range of unicode code points. |
| CharRange | A range of unicode code points. |
Constants
| PKG_DESCRIPTION | UNIC component description. |
| PKG_NAME | UNIC component name. |
| PKG_VERSION | UNIC component version. |