[][src]Struct emojifinder_core::Emoji

pub struct Emoji {
    pub value: String,
    pub name: HashMap<String, String>,
    pub keywords: HashMap<String, Vec<String>>,
    pub svg: String,
    pub rank: f32,
}

Fields

value: Stringname: HashMap<String, String>keywords: HashMap<String, Vec<String>>svg: Stringrank: f32

Methods

impl Emoji[src]

pub fn name<'a, S: AsRef<str>>(&'a self, lang: S) -> &'a str[src]

pub fn update_rank<S: AsRef<str>, T: AsRef<str>>(&mut self, lang: S, query: T)[src]

pub fn get_image(
    &self,
    area_width: usize,
    area_height: usize
) -> Result<RgbaImage, Error>
[src]

Trait Implementations

impl Clone for Emoji[src]

impl Debug for Emoji[src]

impl Default for Emoji[src]

impl<'de> Deserialize<'de> for Emoji[src]

impl Serialize for Emoji[src]

Auto Trait Implementations

impl RefUnwindSafe for Emoji

impl Send for Emoji

impl Sync for Emoji

impl Unpin for Emoji

impl UnwindSafe for Emoji

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> SetParameter for T

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = !

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.