Crates.io | ezemoji |
lib.rs | ezemoji |
version | 0.2.1 |
source | src |
created_at | 2021-02-27 06:35:59.730989 |
updated_at | 2021-04-28 18:28:04.228525 |
description | Catigoryized Emoji's |
homepage | |
repository | https://github.com/cowboy8625/ezemoji |
max_upload_size | |
id | 361285 |
size | 22,021 |
This Project is to make finding Emoji's and Char Groups a bit easier. (WIP)
EZEmojis is a Work in progress made for use in rusty-rain which is a CMatrix clone
The api may change a lot in the coming updates.
use ezemoji::{EZEmoji, Crab};
fn main() {
println!("{:?}", Crab.as_vec_char());
}
The trait
EZEmoji
is provided to glue all the types together.
You can implement it for your own type like
use ezemoji::EZEmoji;
struct MyEmojiGroup;
impl EZEmoji for MyEmojiGroup {
fn as_vec_u32(&self) -> Vec<u32> {
vec![96]
}
}
If you have any ideas for this crate make an issue and lets talk about it.