Struct gmocli::GmocliIndex
source · pub struct GmocliIndex<'a> {
pub ordering: Vec<&'a str>,
pub map: HashMap<&'a str, Gmocli<'a>>,
}
Fields§
§ordering: Vec<&'a str>
§map: HashMap<&'a str, Gmocli<'a>>
Implementations§
source§impl<'a> GmocliIndex<'a>
impl<'a> GmocliIndex<'a>
pub fn get_emoji_by_name(&self, name: &str) -> Option<&'a str>
pub fn new() -> GmocliIndex<'a>
pub fn print_list(&self, with_info: bool)
pub fn search_gmoclis(&self, search_keys: Vec<&str>) -> Vec<&'a str>
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for GmocliIndex<'a>
impl<'a> Send for GmocliIndex<'a>
impl<'a> Sync for GmocliIndex<'a>
impl<'a> Unpin for GmocliIndex<'a>
impl<'a> UnwindSafe for GmocliIndex<'a>
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more