Crates.io | charname |
lib.rs | charname |
version | 1.15.1 |
source | src |
created_at | 2018-05-15 00:49:18.826388 |
updated_at | 2024-08-18 21:28:06.730835 |
description | Incredibly simple library that just gives you the Unicode name for a character. |
homepage | |
repository | https://github.com/JuanPotato/charname |
max_upload_size | |
id | 65441 |
size | 1,161,109 |
A library to get the name of unicode characters. Documentation
There are two available functions get_name
and get_name_checked
.
get_name
will always return a &str
. If a certain character is unknown, it returns UNKNOWN CHARACTER
get_name_checked
returns Option<&str>
. If a certain character is unknown, it returns None