Crate emoji[−][src]
Expand description
Introduction
3511 emojis and 4580 emoji variants with localization data in 143 languages
This crate contains a huge amount of data about every emoji ever.
Some of the data includes:
- Name
- Glyph
- Unicode Release Version
- Classification
- Variants
- Annotations in many languages
This crate also provides functions for searching through emojis by name and glyph, as well as several fuzzy search functions.
Quickstart
fn main() { println!("{}", emoji::food_and_drink::food_marine::CRAB.glyph); }
See more examples here.
Languages
By default, only English annotations are compiled in. To enable other languages, use the feature corresponding to that languge. An exhaustive list of supported languages can be found here.
Modules
activities | |
animals_and_nature | |
component | |
flags | |
food_and_drink | |
lookup_by_glyph | Defines functions for searching through and iterating over emojis by glyph |
lookup_by_name | Defines functions for searching through and iterating over emojis by name |
objects | |
people_and_body | |
search | Fuzzy search algorithms for general purpose searching |
smileys_and_emotion | |
symbols | |
travel_and_places |
Structs
Annotation | Annotation meta-data for each emoji |
Emoji | Contains all information about an emoji |
Enums
Status | Emoji status qualifier |
Constants
ANNOTATION_LANGS_AVAILABLE | Enabled annotation languages (feature dependent) |
ANNOTATION_LANGS_TOTAL | All annotation languages (feature independent) |
UNICODE_RELEASE_TIME | The rfc3339 formatted time of the unicode release that this crate is compiled against |
UNICODE_VERSION | The unicode release version that this crate is compiled against |