Thanks to visit codestin.com
Credit goes to docs.rs

unicode_blocks/
lib.rs

1/*!
2# Unicode Blocks
3
4This crate contains a list of all unicode blocks and provides some functions to search across them.
5
6The latest version of Unicode: 15.1.0
7
8## Examples
9
10#### Given a character, determine what unicode block contains it.
11
12```rust
13assert_eq!(unicode_blocks::BASIC_LATIN, unicode_blocks::find_unicode_block('A').unwrap());
14```
15
16#### Given a unicode block, determine whether it is used in CJK.
17
18```rust
19assert!(unicode_blocks::is_cjk_block(unicode_blocks::CJK_UNIFIED_IDEOGRAPHS));
20```
21
22#### Given a character, determine whether it is in CJK.
23
24```rust
25assert!(unicode_blocks::is_cjk('。'));
26```
27*/
28
29#![no_std]
30
31mod cjk;
32mod unicode_block;
33mod unicode_blocks;
34
35pub use cjk::*;
36pub use unicode_block::*;
37
38pub use self::unicode_blocks::*;