Crate emojicon

source ·
Expand description

Find Emoji by using Emoticons and GitHub’s, Bengali emoji names.

use emojicon::{Emojicon, BengaliEmoji};
 
let emojicon = Emojicon::new();
assert_eq!(emojicon.get_by_emoticon("B-)"), Some("😎"));
assert_eq!(emojicon.get_by_name("cool").unwrap().collect::<Vec<_>>(), ["😎", "🆒"]);
 
let emojis = BengaliEmoji::new();
assert_eq!(emojis.get("কুল").unwrap().collect::<Vec<_>>(), ["🆒", "😎"]);

Acknowledgment

Structs

  • Find Emojis using Bengali(Bangla) names.
  • Find Emojis using Emoticons and GitHub’s emoji names.