rune
, RuneStr
and RuneString
User-perceived characters type rune
and its related types and data structures.
Example
use ;
rune
, RuneStr
and RuneString
User-perceived characters type rune
and its related types and data structures.
use runestr::{rune, RuneString};
fn main() {
let runestr = RuneString::from_str_lossy("\u{0041}\u{0341}\u{304B}\u{3099}\u{9508}");
assert_eq!(3, runestr.runes().count());
}