1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
use Lazy;
use Value;
use HashSet;
/// Static set of fullwidth Japanese kana characters (Hiragana + Katakana).
///
/// This set includes both Hiragana and Katakana syllables commonly used in Japanese text,
/// loaded from `japanese_kana.json` and embedded at compile time.
///
/// Used internally to identify kana graphemes that should be rendered as double-width
/// in terminal environments.
static KANA_SET: = new;
/// Returns `true` if the provided grapheme is a fullwidth Japanese kana character.
///
/// This includes both Hiragana (U+3040–U+309F) and Katakana (U+30A0–U+30FF),
/// matched exactly from the statically embedded kana dataset.
///
/// # Arguments
///
/// * `g` - A grapheme cluster to check
///
/// # Returns
///
/// `true` if the grapheme is a fullwidth kana character.
pub